OAuth 2.0 “… malformed syntax”
I am trying to communicate with an OAuth 2.0 integration record per this youtube video : How to Set Up and Integrate Rest APIs in NetSuite – YouTube
I have configured postman like in the video, though I am using ..<companyid>-sb1.. in my url instead of a production url. I am receiving the following error :
The request could not be understood by the server due to malformed syntax
This is my request :
I haven’t found anything on suiteanswers, just looking for a solution to get a 200 response.
Go through Request Parameters for Step 1. You want to correctly match the scope values.
Keep in mind that I believe you are better off doing TBA. The refresh token you get by completing the OAuth 2 flow expires in 7 days, requiring you to complete the flow again to get a new one.
Hey, thanks! Yes the scope should have been “restlets” not “restlet”. Now I just have to figure out getting the user/roles setup I think.