We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
Nerses G.
9 years agoNew member | Level 2
php dropbox api 1 state parameter error
Hello, I am using php dropbox api v1 and when I try to link my dropbox account I get the following error: "state": must be at most 500 characters, got 1033
Could you please help me to find solution?
Thank you in advance.
1 Reply
- Greg-DB9 years ago
Dropbox Community Moderator
The state parameter used in the OAuth app authorization flow has a size limit of 500 bytes. This error indicates that you're supplying more data than that. You should update your app to make sure you never supply more than 500 bytes.
The state value is supplied to the Dropbox.WebAuth.start method, as the $urlState variable.
Also, that PHP Core SDK uses API v1, which is deprecated. You should migrate to API v2 whenever possibe.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 5 hours ago
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 or Facebook.
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!