Graphql unauthorized error on logged in user with viewer role

Hello Monday team,

I am currently building custom views (a dashboard widget and a board view) where I fetch board items using monday.api on the client side.

The implementation works perfectly for users with a member role, allowing me to fetch board items without any issues. However, for users with a viewer role, I encounter a GraphQL unauthorized error when querying board items, even though they can view the items on the board itself.

Could you please help me understand why this error occurs for viewer role users and provide guidance on resolving the issue?

Looking forward to your assistance!

This is by design.

Viewers should be blocked with friendly message about not having access to the data.