User error: Invalid Login attemp

I am trying to enable token based authentication, I have all the configuration done in netsuite:
– Cloud suite – token based authentication
– Role with the necessary permissions for token-based authentication
– User with the role defined for TBA
– integration record

Create my apex class in salesforce, to generate my signature and send the POST request to https: // <account-id> .restlets.api.netsuite.com / rest / requesttoken

User error: Invalid Login attempcredenciales en Apex Class

When sending the request, sales force returns the following:
Status = Bad Request, StatusCode = 400
{“error”: {“code”: “USER_ERROR”, “message”: “Invalid login attempt.”}}

and in Netsuite login audit trail it shows “TokenRejected”

User error: Invalid Login attemp

can someone guide me to fix this error?

Rookie Asked on February 23, 2021 in Administration.

Please post your implementation of the signRequest function — it is  likely that your error is there.

4 days ago.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor