Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Why do I get unauthorised status code from netsuite api?
Getting unauthorised status code from netsuite api when i call it programmatically but getting success status code when i’m calling from postman.
Steps i have followed to integrate NetSuite :
- Enabled REST API feature for administrator role
- Enabled token based authentication as well
- Create new integration and got the customer key & secret
- Create new token for that integration
- Calling api from Postman using customer key & secret and token id & secret + account id
- i/m successful able to apis from postman using this credentials
- Now i have written same REST api call in C# with multiple different ways
- But every time it’s throwing unauthorised status code
Tagged:
0