When try to upload media on dropbox using api(codeIgniter library) that return 'stdClass Object ( [error] => stdClass Object ( [file] => Expecting a file upload ) ) '
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.
But my question is about the error message 'Expecting a file upload'. When this type of error occur?
and this error occur in only xampp server
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.