...
Especially if you are adding multiple apps, it is important to add the company name to the app title, to differentiate among the various apps. Otherwise you may end up choosing the wrong app later, when building your integration.
When you press the Authenticate button, Canvas will attempt to connect to the Visma Lønn server to verify that all the supplied credentials are valid. If so, you will receive the following message:
...
Common issues:
...
These are some error messages you might see when attempting to
“Unauthorized error”
If you receive this message, it means that one or more of the supplied fields (company name, username, password, API key, CloudConnector key) are incorrect. Please verify each of these to make sure that all info is correct.
A common reason for this error is that the Company name used by the API is not identical to the company name shown in the user interface in Visma Lønn. This could be because the company has changed their company name in the past, or because the company name contains special characters, which means that the integration will be using a different company name than what is shown in the UI.
In such cases, figuring out the correct company might require some trail and error:Try to authenticate using various versions of the company name.
Some hints can be found by checking the Visma Lønn database name. Here you see some examples of Visma Lønn database names, and how these might compare to the company names shown in Visma Lønn:
“Undeclared registered application”
If you see this specific error, try refreshing the webpage