Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆
Forum Discussion
kashiwagi_yhi
7 months agoExplorer | Level 3
Issue with userinfo API (400 Error)
Hello,
The userinfo API, which was working fine until yesterday, has suddenly stopped functioning. Every time I send a request to the API, I receive a 400 error.
Specifically, I am using the following endpoint:
Request URL: https://api.dropboxapi.com/2/openid/userinfo
Error message: 400 Bad Request
Response content: Error in call to API function "openid/userinfo": expected object, got null
I would like to know if this API has been deprecated or if there has been a change in its specifications. If there is any information regarding changes or deprecation, it would be very helpful. Additionally, any guidance on alternative methods or new API usage would be greatly appreciated.
Thank you for your assistance.
- Greg-DBDropbox Staff
Thanks for the report. We'll look into it.
It looks like sending "{}" (instead of "null") still works. Can you try sending "{}" instead of "null"?
- kashiwagi_yhiExplorer | Level 3
Thank you for your reply.
I posted because I was unable to retrieve the username using the .Net SDK, which was previously working fine, and also could not retrieve it using the Dropbox API Explorer.
https://dropbox.github.io/dropbox-api-v2-explorer/#openid_userinfoIt appears to have been my mistake. I apologize for any inconvenience caused.
- Greg-DBDropbox Staff
We've updated this to support passing in "null".
About Discuss Dropbox Developer & API
Make connections with other developers801 PostsLatest Activity: 7 hours ago
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!