Audience: Administrator, User

Problem

An eXtendTech application (eXtendApp) or integration is returning the error "Invalid Login Attempt" when performing operations which need to authenticate with NetSuite.

Potential apps:
  • eXtendApproval (part of eXtendFiles)
  • eXtendASI (with Order Integration)
  • eXtendFloorXL
  • eXtendFrame
  • eXtendMobile
  • eXtendPresentation
  • eXtendPS-SE
  • eXtendWebApprovals

Potential Causes

This error will occur when the access token or OAuth certificate that is assigned to the eXtendApp are either incorrect, no longer available, or expired.

Some possible scenarios are:
  • Applies to Access Tokens and OAuth M2M Certificates
    • If login access has been removed from the associated employee record in NetSuite.
    • If the associated employee record is marked as Inactive in NetSuite.
    • If the role which is associated with the eXtendApp has be removed from the associated employee record or marked Inactive in NetSuite.
    • If the access tokens or OAuth certificate which are associated with the eXtendApp have been revoked.
  • Applies to OAuth Certificates only
    • If the OAuth certificate which is associated with the eXtendApp has expired.
  • Applies to Access Tokens only
    • This error will occur within a Sandbox environment after it has been refreshed from Production. NetSuite does not copy access tokens from Production to Sandbox during a refresh and causes them to be incorrect within Sandbox until they are regenerated.
    • This error will occur within a Release Preview environment after it has been provisioned by NetSuite. Similar to a Sandbox account, access tokens are not copied from Production during provisioning.

Resolution

  1. Confirm that the associated employee record has login access to NetSuite.
  2. Confirm that the associated employee record has the correct role assigned to them.
  3. Confirm that the employee and role are not marked Inactive.
  4. Check if Access Tokens have been revoked or if the OAuth 2.0 client credentials (M2M) certificate configuration is expired.
    1. To resolve this issue, regenerate access tokens or OAuth certificate configuration within the appropriate NetSuite environment and enter the new access tokens/certificate deatils on the eXtendApp's configuration page.
      1. Generating a new Access Token
      2. Updating OAuth 2.0 Client Credentials (M2M)
Note: Your NetSuite Administrator may be needed for generating the new access tokens.