Receiving Error that Scopes Exceeds the Allowed Maximum of 100

Problem statement

Deployed an Action that loops through over 100 permissions and calls the api.accessToken.addScope. The code throws the following error;

Error: The number of scopes exceeds the allowed maximum of 100.


Steps that can be taken to identify and verify the problem, including links to internal resources.
From our documentation, this limit should be 1000, not 100.


Please open a support ticket with our support team to update the limit to 1000 permissions per user.