Itgenoda494: This occurs when an Exact Online user is associated twice with the same OAuth app

During retrieval from or uploading of data with Exact Online you may get the following error:

itgenoda494
Access to the OAuth data source requires a valid access token.
An obsoleted refresh token can not be used on Exact Online.
This occurs when an Exact Online user is associated twice with the same OAuth app.
Please generate a new refresh token and make sure to keep the refresh token chain intact.

Or in Dutch:

itgenoda494
Toegang tot de OAuth-gegevensbron vereist een geldig access token.
Het access token kon niet worden verkregen.
Een verouderd refresh token kan niet gebruikt worden op Exact Online.
Dit treedt op als een Exact Online gebruiker twee keer gekoppeld wordt met dezelfde OAuth applicatie.
Please generate a new refresh token and make sure to keep the refresh token chain intact.

It is an error propagated from the Exact Online APIs:

invalid_grant
Token is not allowed, because of invalid or empty chainId

This error can occur when the same user registers a database twice on Invantive Cloud using the same client ID and Exact Online user. When it occurs: please refresh your authorization as described in Eenvoudiger autorisaties vernieuwen op Invantive Cloud (Dutch).

The technical background and the introduction of this error into the Exact Online API is described in Incidentele foutmelding "Token is not allowed, because of invalid or empty chainId" op Exact Online (Dutch).