0

In Dropbox api, this error occurs:

Warning: file_put_contents(dropbox/tokens/766tYP3FZu8IEv4d.token) [function.file-put-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\dropbox\dropboxupload.php on line 28

Authentication requiredhttps://www.dropbox.com/1/oauth/authorize?oauth_token=766tYP3FZu8IEv4d&oauth_callback=http%3A%2F%2Flocalhost%2Fdropbox%2Fdropboxupload.php%3Fauth_callback%3D1

How can this error be solved?

Community
  • 1
  • 1
Hiren Raiyani
  • 754
  • 2
  • 12
  • 28

3 Answers3

0

Errors are returned using standard HTTP error code syntax. Any additional info is included in the body of the return call, JSON-formatted. Error codes not listed here are in the REST API

randomdude
  • 9
  • 1
  • 4
0

Create folder at root name "tokens" and try again

Hiren Raiyani
  • 754
  • 2
  • 12
  • 28
0

warning is due to not having "tokens" folder in your dropbox directory at root level.

create one.

second Oauth doesnot work on a Local Machine . try to Upload it on a server and try again .

mparo_afridi
  • 179
  • 1
  • 2
  • 8