1

When I am trying to insert records to Salesforce using ARC(OAuth2) getting below error Error: This session could not be mutually authenticated for use with the REST API

{
"message": "This session could not be mutually authenticated for use with the REST API",
"errorCode": "MUTUAL_AUTHENTICATION_FAILED"
}

403 Forbidden

But this working fine before. I getting this error suddenly.

Can anyone help me with this?

Thanks in advance

2

This is in the documentation:

If a login call is made from the API for a user with an expired or temporary password, subsequent API calls to custom Apex REST Web service methods aren't supported and result in the MUTUAL_AUTHENTICATION_FAILED error. Reset the user's password and make a call with an unexpired password to be able to call Apex Web service methods.

You need to set a new password to continue. Note that other types of REST API calls will also fail, but this seems to be the only explicit mention of this error message; other similar resources claim that the error also occurs for other types of REST API calls.

  • Thanks for the reply. I can able to get the access token but the issue occurs only when making an API call to upsert the records. – Lavanya Sanathkumar Oct 16 '18 at 6:57
  • @LavanyaSanathkumar You can still log in to reset your password, but other methods are blocked. Have you tried setting a new password? – sfdcfox Oct 16 '18 at 7:04
  • thanks for the reply. Yes, it's working fine when I changed the password. – Lavanya Sanathkumar Oct 16 '18 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.