API stops giving response randomly
Hi all,
We are using create folder API of box and it is working fine but randomly it stops giving us response sometimes which is breaking our system.
We need to create multiple folders in Box (aboout 500 to 600 folders) at a time, so we are using .net WS for creating folder.
sometimes all folders are created but randomly it gives error.
Please response ASAP because it is very urgent.
Thanks
Anurag Jain
-
What are the specific HTTP error messages you're seeing when it fails?
Maybe you're running into the API limits? See the post at https://community.box.com/t5/Developer-Forum/API-action-vs-Rate-limit/td-p/10139 and the posts linked from there for details.
Have you implemented exponential backoff for your calls to the API, especially for http 5xx errors? -
We are getting two types of responses:-
1. operation_blocked_temporary - Conflict - 409
-------------------START-------------11/16/20**removed**:39:16 PM
Source : CreateFolderBOX
eventName :CreateFolderBOX
message :response.Content :{"type":"error","status":409,"code":"operation_blocked_temporary","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"The operation is blocked by another on-going operation","request_id":"removed for privacy2582c5373d084d"}response.StatusCode :Conflict
-------------------END-------------11/16/20**removed**:39:16 PM2. status code: 0
-------------------START-------------11/15/20**removed**:47:37 AM
Source : CreateFolderBOX
eventName :CreateFolderBOX
message :response.Content :response.StatusCode :0
-------------------END-------------11/15/20**removed**:47:37 AMThanks
Anurag Jain
Please sign in to leave a comment.
Comments
3 comments