How to solve 400 bad request error in Netsuite Restlets?

1.7k Views Asked by At

I am working on a project where I am using restlest to communicate with Netsuite from my website. I am using OAuth 1.0. It was working fine. However, now I face 400 bad request error. I believed that there was some issue with my code but I tried calling restlet from Postman and still getting the same error. I have another project which was working fine but now getting the same error. Any help will be much appreciated.

1

There are 1 best solutions below

0
Muhammad Umar On

Found the issue. The Signature method before the 2021 release was HMAC-SHA1 which is now deprecated. I used the HMAC-SHA256 method and this resolved the issue.