NetSuite SuiteTalk REST Web Services - Invalid Login Attempt

亡梦爱人 提交于 2020-03-16 07:37:10

问题


I am trying to use the NetSuite SuiteTalk REST Web Services to access NetSuite CRM data.

I have the access up and working in production. Able to retrieve record data and metadata.

I am now trying to set up access in the sandbox for more in-depth testing.

In the sandbox I have: - Enabled rest web services - Enabled token based authentication - Given user concurrent web services permission - Given user Log in using access tokens permission - Created an integration - Created an access token

All of these actions mirrored what was done in production.

When I attempt any kind of GET to the web service, I receive a 401 - Invalid login attempt.

When I check the Login Audit Trail, I don't see any record of the GET attempt, failed or otherwise.

Is there something of a systemic nature that I have to do additionally in the sandbox to enable rest web services? Above and beyond enabling it in SuiteCloud/SuiteTalk?

The fact that I see absolutely nothing in the audit trail makes me believe that something is still "turned off".


回答1:


I had the same issue using the sandbox. Apparently there is a mismatch between the account ID and the account ID in the URL.

The account ID: XXXXX_SB1 The account ID in the url: XXXXX-SB1

This solved the problem for me.




回答2:


In Postman in your request tab and then in the authorization tab in the advanced section there is a field called Realm. Put the account id in the realm field with underscores.



来源:https://stackoverflow.com/questions/59447622/netsuite-suitetalk-rest-web-services-invalid-login-attempt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!