Error 500 listing businesses

in Development
Hi,
We are using lightspeed lsk API to retrieve businesses and orders. I have one issue with a customer of us.
The authentification worked and we got the token / refresh token however the call to :
/f/data/businesses
to retrieve the list of businesses of our customer return a 500 error :
{
"timestamp": "2022-01-03T14:26:02.478+0000",
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.web.client.HttpClientErrorException",
"message": "403 null",
"path": "/f/data/businesses"
}
Can you help us with the situation
Best,
Wuillaume
4 comments
Hi @Flynt,
Thank you for contacting us.
I guess this is because the token that you're using belongs to a different user(email) that isn't active in the account. Sometimes this happens when the customer changes the email address.
I hope this helps.
Hello Lucien,
If the user is active, could it be an issue with the access roles for that user ? What are the permissions required for the user to use the following scope of the api:
financial-api; orders-api; items
Best
Can you provide me the email of the user?
Yes