Upload FinishUri halts on OPTIONS request

  • 1
  • Problem
  • Updated 2 weeks ago
I'm using the threaded upload endpoint directly from javascript.

I can upload the file OK, with the ChunkUri returning 200 with the response:
{ error: false, value: 'OK' }

So, next i'm hitting the FinishUri (with POST method) so that I can get the Item ID (i'm including fmt=json), but the endpoint halts on the OPTION request that the browser is making and the actual POST request is never made.

The FinishUri i'm calling is:
https://storage-use-64.sharefile.com/upload-threaded-3.aspx?tool=html5&baseAppURL=https://devmaddocks.sf-api.com/&t=1&encparams=trkO1xezvGZtNRPftnxrazTOXa6d0Qjs3zlbAa7gKhTdN1Z_aWeE0IUITF6ciSRs7Epl5Uq-vUVkcAhjem4VUODKsDJPCbMrjMvPtDy6zH4tqDV3OD4jKvMU6PoZE9vNFSwI_LCcIwSHWM3vMe938GC7DRl-vUL-gc8pbGGxXWN7Ybmr9V3JG9OkssMBYoCfVCL06UvX4t8qkv3NcZWHNoEgJPWNRkcuy6NcZhLj1ARc5naUOB25af71PRcmTcMtsaIsN4Tls5xsfr_rziuxJbhRRO2YVuVxXHY-DoxDwhHxWKA6dHG54A8Yzq_ZB60He2feYrB3Be94dDbOqy6BJoSYyjiqQmtPcxA1yEm1HrujjtSsdJaH9KJ4HrdiUWTCun0_PWIiLXHPoxqmHuyacyVlxtD8odlWQDAmYM9cuU2e1zQulOzX3d5wxDCMvIFIBaN30eGZuvY-keRpWhU2UT869_CcY0_edBuF2G8Y7769PeyooQhsm7A7u0nz0XH_yBHapTO0e2nGhpchK6njIZxKTNwM86HiJaeU0B_K_-lLxHaQc96BbKkZy9TGaj8qdSDXvxKoAGbPJFir4NwX1Zyc95HJcU1dotPjpiOr77CXfz9LqxlLcgWdHFSYN1bVmLxKDGRukQHWFxSDk-GcrO96GaQr5EKDXh8lqDjuHf03OcsKAOHdPK9qvj4$&finish=true&overwrite=False&batchid=99603c83-0be9-4308-8a10-e33f44a29c8f&isbatch=False&fmt=json&uploadid=rsu-f96fb5d07c154c1186f3cd3e85f70228&filesize=238979&h=RNOU9JzUlfMGMCRw9HGAmFB1MzcnXGYd%2bFG948yR%2bY4%3d
Request Method: OPTIONS
Response: 200 OK

Any help is appreciated! Cheers
Photo of Ben Southall

Ben Southall

  • 10 Posts
  • 1 Reply Like

Posted 2 weeks ago

  • 1

Be the first to post a reply!