Version: eXtendMobile 1.12 and above
Audience: NetSuite Administrator, eXtendMobile User
Problem
When attempting to log in to eXtendMobile, the following error message appears:
Failed while getting access token. Error: invalid_client
Causes
This error typically occurs due to one of the following reasons:
- Expired or Incorrect M2M Certificate in NetSuite
- Unavailable User or Role for M2M Token in NetSuite
- The role could be set as inactive.
- The role could be removed from the user.
- The user could no longer have login access to NetSuite.
- The role could be set as inactive.
Solution
Step 1: Verify M2M Certificate
If the M2M certificate is expired or incorrectly applied, follow these steps:
- Contact your NetSuite Administrator.
- Update the M2M certificate by following the instructions in the Updating OAuth 2.0 Client Credentials (M2M) guide.
Step 2: Check User and Role Availability
If the user or role used for generating the M2M token is no longer available, follow these steps:
- Contact your NetSuite Administrator.
- Ensure that the necessary user and role have the required access:
- Reactivate the role if it was inactivated.
- Reassign the role if it was removed.
- Restore the user's login access if it was revoked.
- Reactivate the role if it was inactivated.
- If necessary, configure a new user and generate a new M2M certificate by following the instructions in the Updating OAuth 2.0 Client Credentials (M2M) guide.
By following these steps, you should be able to resolve the "invalid_client" error.