API Error: [Bad request] Insufficient Scope Insufficient Permissions For The Requested Scope In Box Web API

How to troubleshoot the error [Bad request] Insufficient_scope - Insufficient permissions for the requested scope for Box Web API ?

The error Bad request means that the required parameters supplied in the API request are either missing or invalid.

The first step would be to make sure that the correct configurations have been done using the UiPath BOX setup content.

It is important to understand that even if an application has the right scopes to perform an action, the user associated with the Access Token making the call needs to have permission to perform the action as well and vice versa. To resolve this, follow the steps shared in this BoxSupport content " API 403: Access Denied Insufficient Permission " .

Note: The Refresh token used expires after 60 days. Hence a new one needs to be generated after the stated period.