A new access token could not be acquired when exchanging the OAuth refresh token - Visma connect

I am trying to create a new database with the visma connect approach, but after I sign on i get an error message saying “Data access requires an active OAuth access token. A new access token could not be acquired when exchanging the OAuth refresh token.” I can’t find anything on this in the forum. Does anyone know what causes this error message and how I can solve it?