Getting 403 error when uploading to filebox via the upload file api call

  • 1
  • Question
  • Updated 6 months ago
I can upload a file to my personal folders / home directory via the API but I get a 403 forbidden error when uploading to my filebox via the api:

https://xxxx.sf-api.com/sf/v3/Items(box)


Any ideas why this would be?
Photo of Randy Johnson

Randy Johnson

  • 1 Post
  • 0 Reply Likes

Posted 6 months ago

  • 1
Photo of shruthi

shruthi, Employee

  • 4 Posts
  • 0 Reply Likes
Hi Randy,

Can you post the fiddler trace or the exact call you are trying to make here. The Api should be POST https://xxx.sf-api.com/sf/v3/Items(box)/Upload2 and body should be something like {"Tool":"html5","Method":"Threaded","FileName":"filename","Overwrite":false}.

Thanks,
Shruthi