We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
njclonch
9 years agoExplorer | Level 3
Access token is not being accepted from local server
After successfully receiving an access token from the `oauth2/authorize` endpoint, I have attempted to submit the access token to `sharing/get_shared_link_metadata` along with the URL of a shared lin...
njclonch
9 years agoExplorer | Level 3
I added request headers to my previous post, which follow each respective request.
Thanks for your help. Let me know if you need more info.
Greg-DB
Dropbox Community Moderator
9 years agoThanks. That appears to the be headers for a web request though (to your own app?) and not for the API call itself.
- njclonch9 years agoExplorer | Level 3
I think I'm doing everything correctly. I think the issue is just due to the last request originitating from a local server without authentic SSL. The access tokens I'm receiving seem to work, just not from my local server.
Thanks for your help.
- Greg-DB9 years ago
Dropbox Community Moderator
I'm not sure I follow. Were you able to inspect the actual API requests like I suggested? - njclonch9 years agoExplorer | Level 3
Sorry. I took the time to inspect the final request, which contains the access token in the request header. When I isolated the issue to the function, which contains the curl post/request, it came back with a successful response. So, to my embarrassment, there was actually just an issue somewhere else. I got really bogged down in this problem a couple days ago, and I think I just needed to step away from it.
Thanks for the persistent help.
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!