We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Deon B.
11 years agoNew member | Level 1
Issue : api add method in codeigniter library
When try to upload media on dropbox using api(codeIgniter library) that return 'stdClass Object ( [error] => stdClass Object ( [file] => Expecting a file upload ) ) '
4 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
Unfortunately as we didn't make that CodeIgniter library we can't really provide any support for it ourselves. Perhaps someone on the forum is familiar with it though. Otherwise, you may want to ask the developer for help.
- Deon B.11 years agoNew member | Level 1
But my question is about the error message 'Expecting a file upload'. When this type of error occur?
- Deon B.11 years agoNew member | Level 1
and this error occur in only xampp server
- Greg-DB11 years ago
Dropbox Community Moderator
That error indicates that the API didn't receive a file included with the POST to the /files (POST) endpoint as expected. Note that if the library supports it, we recommend using the /files_put endpoint instead.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!