currentMember.getRoles() in «wix-members-backend» throw error

I’m having trouble with
currentMemner.getRoles() in «wix-members-backend» in a funktion in a «person.web.js» backend module.

Working in
Get the error Wix Studio Editor but also in Wix Editor

What I’m trying to do
currentMember.getMember() is working. Workaround but security issue is to test the roles in frontend and use a parameter in function to send roles to backend.

Extra context
The problem occurred overnight from Sunday, February 1, 2026, to Monday, February 2, 2026. The try-catch error message is:

Error ‘Error: message: Forbidden details: applicationError: description: Forbidden code: FORBIDDEN data: {}’

It seems that there is a permissions issue. I have not changed anything on the site. Everything had been working perfectly until Monday early morning.

I’m trying to understand if this resolved itself, and was just happening temporarily, or if this is still happening for you.