Content Explorer Upload File Error

Highlighted
New Contributor

Content Explorer Upload File Error

Hi,

While uploading file using Content Explorer/Content Uploader Box UI elements,  the file is getting uploaded but getting something went wrong with the upload error. Upload called multiple times and returning 409 after the initial file upload. Can you help me resolving this issue?

Tags (1)
1 REPLY 1
Highlighted
Box Employee

Re: Content Explorer Upload File Error

Hi @ranjanijgr,

 

Without seeing the integration code you're using it's hard to diagnose the issue. The 409 error (conflict) will be produced being the upload is happening twice. The file is uploaded the first time and then the second time it's trying to upload with the same name / location so a conflict error is being produced.

 

To help diagnose the issue that you're seeing, there are a few things that you can look into:

  • You can listen to the upload event within the content explorer, which will allow you to listen to the calls as they are being sent to Box. This will allow you to control what comes in, and be able to log out additional event data as it becomes available.
  • You can use the responseInterceptor options in the API calls to edit / modify the calls coming in / going out, which will allow you to control what you want uploaded, or allow you to listen to 409 errors and either ignore of retry.

Hope that helps,

Jon