Error Code: 2000310 – Invalid login
What does the error mean?
This error occurs when the Integration Platform attempts to export data to Fortnox but authentication fails. It indicates that either the Access Token or Client Secret is missing or incorrect. The error could also result from an expired token or incorrect activation of the integration.
How to resolve the error
1. Verify the Access Token and Client Secret are correct
Cause:
Incorrect or missing authentication details result in Fortnox being unable to verify the integration.
Solution:
- Log into the Fortnox Developer Portal.
- Navigate to your integration and verify that the Client Secret is correct.
- Confirm that the Access Token is valid and hasn't been modified or expired.
2. Reactivate the integration to generate a new Access Token
Cause:
The Access Token might have become invalid due to expiry or changes in permissions.
Solution:
- Ask the user to log into Fortnox and go to Manage Users or Manage Integrations.
- Delete the existing integration and activate it again.
- Follow the OAuth2 flow to generate a new Authorization Code and subsequently a new Access Token.
3. Verify correct scopes are assigned
Cause:
If the integration lacks necessary scopes (permissions), authentication may fail.
Solution:
- In the Developer Portal, ensure the integration has been assigned the correct scopes for required resources.
- If scopes have changed, generate a new Authorization Code and Access Token with the updated scopes.
4. Ensure the user has sufficient permissions
Cause:
The user activating the integration must have adequate permissions in Fortnox.
Solution:
- Verify that the user is a system administrator or has the required permissions to activate integrations.
- If not, ask an administrator to assign permissions or activate the integration themselves.
Summary
To resolve error code 2000310, you should:
- Verify the Access Token and Client Secret are correct.
- Reactivate the integration to generate new authentication details.
- Ensure correct scopes are assigned and the user has necessary permissions.
After completing these steps, test exporting from the Integration Platform to Fortnox again to confirm that the error has been resolved.
Comments
0 comments
Please sign in to leave a comment.