Skip to main content

Error: You are not authorized to perform this

ExtendSync Google | Fix authorization errors when logging in

Updated over 2 weeks ago

If you see the error below when attempting to log in to ExtendSync for Google NetSuite, it means your NetSuite role is missing a required permission.

This article explains why the error occurs and how to resolve it.


Error Message

{ "error": { "code": "", "details": "You are not authorized to perform this." } }


Why This Error Happens

ExtendSync uses Token-Based Authentication (TBA) to securely connect Gmail and NetSuite.
If your NetSuite role does not allow login using access tokens, NetSuite blocks the request and returns this error.

This typically occurs when:

  • A custom or restricted role is being used

  • The role was recently created or modified

  • Required permissions were not added to the role


How to Resolve the Error

A NetSuite Administrator must update the role you are using to log in to ExtendSync.

  1. Log in to NetSuite as an Administrator.

  2. Go to:
    ​Setup β†’ Users/Roles β†’ Manage Roles

  3. In the Authorization section, check if Web Services Only Role is OFF.

  4. Locate the role used in ExtendSync and click Edit (or Customize).

  5. Open the Permissions subtab.

  6. Go to the Setup section.

  7. Add the permission:

    • Log in using Access Tokens

    • SOAP Web Services

    • User Access Tokens

    • SAML Single Sign On (Enable only if your company uses SSO (Okta, OneLogin, Microsoft Entra ID, etc.).

  8. Set the Level to Full.

  9. Click Save.

πŸ’‘ If users can select multiple roles, ensure this permission is added to every role they may use with ExtendSync.


Final Step for End Users

After the role is updated:

  1. Close Gmail completely.

  2. Reopen Gmail in Google Chrome.

  3. Launch the ExtendSync panel.

  4. Log in again.

The authorization error should no longer appear.

βœ… Verification Checklist

Confirm the following after the update:

βœ” The role includes Log in using Access Tokens (Full) and other permission needed.

βœ” You selected the correct role during ExtendSync login

βœ” Gmail was refreshed after the permission change


Need Help?

If the error persists after following these steps:

Please include:

  • Your NetSuite role name

  • Screenshot of the error message

We’re happy to help you get logged in and back to using ExtendSync.

Did this answer your question?