Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

kashiwagi_yhi's avatar
kashiwagi_yhi
Explorer | Level 3
2 years 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.

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    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"?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    We've updated this to support passing in "null".

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!