- When authentication and system errors (401 and 403) may occur.
- What access tokens are.
- How to reconnect your app after receiving a 401 or 403 error.
When using an Amaka integration, authentication errors may occur due to the following:
- Invalid credentials
- Revoked access to application
- Uninstalled application
- Disabled access to application
- Authentication is no longer valid
What is an access token?
An access token is used in token-based authentication to allow an application to access an API. The application receives an access token after a user successfully authenticates and authorizes access then passes the access token as a credential when it calls the target API.
Access tokens act like a special key that an app gets to allow it certain permissions. This key lets the app use certain parts of a website or online service. The app then shows this key to the website or online service when it wants to perform certain actions such as when pulling data.
How to reconnect an app
There are two options for reconnecting an app after access has been revoked or you’ve changed credentials. You can choose whichever option is easier for you. Either will work.
Reconnect through your accounting software:
Log into the accounting software.
Go to account settings.
Select the App Store or app settings.
Find and select Amaka.
Authorize the app to connect to your source provider.
Follow the prompts to log in using your accounting package.
Reconnect through Amaka Dashboard:
Sign in to the Amaka dashboard.
Go to Connected Accounts.
Click the ••• option next to your accounting software and click Revoke Access, and do the same for your e-commerce/POS account.
Refresh the page and log back into the Amaka dashboard.
Click New integration at the top right.
Click Connect new account then choose the organization that you want to connect to and hit Allow permission.
Follow the wizard and click Save + Continue to finish the setup.