Hello,
The Box Scope activity is not working after upgrading the UiPath studio from version 2022 to 2024. The same activity is working fine in the production which is being running with the older version of UiPath. I have copy pasted the same code and converted to the windows project. The Box scope is giving me the below error: “Box Scope: The API returned an error [BadRequest] insufficient_scope - Insufficient permissions for the requested scope.” while the same activity with the same configuration is still running successfully in the production.
The Box activities package states:
Activity pack for Box API integration. PLEASE NOTE THAT THIS VERSION OF 2.0.0 PACKAGE CAN ONLY BE USED IN MODERN STUDIO PROJECTS WITH VERSIONS EQUAL OR HIGHER TO 22.4. IT WILL BREAK EXISTING WORKFLOWS.
Please reach out to support if you need assistance with migration existing flows to Studio windows projects.
can you please check if there are any property changes for Box scope…if you can show some screenshots that might help…also what authentication are you using?
while migration sometimes copy pasting data is also creating issues…try to redo the activity and check
I per I observed, there is no property change for Box Scope. I am using JWT authentication method in which I am giving the path of the file in which the Box configuration is there. the same file I have been using in PROD as well.
Yea, I have added the activities manually and tried the same.
as per this it might be a robot level issue as well
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 " .
I have verified. The user associated with the Access Token making the call has the permission to perform the action as its being used since long back and also I have use the same with my old version of code, there its working fine. So, the required permissions seems not the issue.
Can the @UiPathSupport team could help me here? since its clearly mentioned in the package description that THIS VERSION OF 2.0.0 PACKAGE CAN ONLY BE USED IN MODERN STUDIO PROJECTS WITH VERSIONS EQUAL OR HIGHER TO 22.4. IT WILL BREAK EXISTING WORKFLOWS.