Hey everyone, this is more of a question with an answer, since I couldnât find the answer for it here on the site.
When importing a curl command to postman, you may receive the error mentioned above.
Here is an example curl.
curl --location --request POST âhttps://some/long/url/you/needâ \ âheader âAuthorization: Basic abcdefghijklmnopâ \ âheader âContent-Type: application/jsonâ \ âdata-raw â{ âsomejsonâ: "a variable}â
If this type of curl is not importing correctly, you need to remove all instances of \ from the curl command to get it to paste.
I donât know why an answer to this error isnât found elsewhere when searching, but hopefully this helps someone else who searches in the future!