How to resolve error below { "type": "<https:/...
# ask-stanley-ai
r
How to resolve error below { "type": "https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1", "title": "Bad Request", "status": 400, "o:errorDetails": [ { "detail": "Error while accessing a resource. Gateway authentication failed. Response Code (401).", "o:errorCode": "USER_ERROR" } ] }
c
AI generated answer (using internal Slack threads):
The error message you're encountering indicates a "Bad Request" with a status of 400 and a detail of "Gateway authentication failed. Response Code (401)." This is typically associated with issues in authentication, specifically with OAuth. Based on the conversations provided, it seems like there might be an issue with the OAuth 1.0 authentication you're using. NetSuite has deprecated HMAC-SHA1 for Token-based Authentication (TBA). You might want to check if this is the cause of your issue. You can find more information about this deprecation in the NetSuite Help Center: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158921905537.html#section_160335709872 Also, if you're using Postman for testing, ensure that you're using the built-in support for OAuth 2.0 instead of implementing it yourself. Here's a link to Postman's documentation on OAuth 2.0: https://learning.postman.com/docs/sending-requests/authorization/#oauth-20 ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825498402
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8251791
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815843701
Please provide your feedback on this answer.
Thank you for your feedback