Forum Discussion

kashiwagi_yhi's avatar
kashiwagi_yhi
Explorer | Level 3
7 months ago

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-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox 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"?

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 2 days ago
217 Following

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!