Error with uploading file to root folder using FormData
Hi! I am trying to upload a binary file using FormData in React with
url: "https://upload.box.com/api/2.0/files/content"
options: [["attributes", "{\"name\": \"Share.png\", \"parent\": {\"id\": \"0\" }}"], ["file", {"_data": [Object]}]]
but get an error [TypeError: Network request failed]
Client ID: oeq4ayz2yetpnak1m1jrwbous63r6xnq
Any help would be appreciated. Thanks!
Post is closed for comments.
Comments
0 comments