You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

awb's avatar
awb
Helpful | Level 7
6 months ago

500 Internal Server Error - /2/team/features/get_values

Hi,

I've been experienceing some issues with the following api call today and was wondering if any one could help

 

POST:

POST https://api.dropboxapi.com/2/team/features/get_values HTTP/1.1
Authorization: Bearer omitted
User-Agent: OfficialDropboxDotNetSDKv2/6.37.0.0
Content-Type: application/json; charset=utf-8
Host: api.dropboxapi.com
Request-Id: |3cdc2381-418052c2c679c059.
Content-Length: 49

{"features":[{".tag":"has_team_shared_dropbox"}]}

 

HTTP/1.1 500 Internal Server Error
Content-Type: text/plain; charset=utf-8
Cache-Control: no-cache
Content-Security-Policy: sandbox allow-forms allow-scripts
X-Content-Type-Options: nosniff
Date: Fri, 14 Jun 2024 12:58:36 GMT
Server: envoy
Content-Length: 0
X-Dropbox-Response-Origin: far_remote
X-Dropbox-Request-Id: 6d732fa220914a2ca872f24fd6a2bf91

 

I've also tried the same token in the api explorer and get the same.

Thanks

  • awb Thanks for confirming this is working now! I don't have more specific information on what change the team made though; they identified an issue and adjusted the server code accordingly.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report. Can you confirm if you're still seeing this now? If so, about what percent of these calls are failing like this for you? Thanks in advance!

    • awb's avatar
      awb
      Helpful | Level 7

      From the testing I have done 100% we use PKCE if this helps

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        awb Just to clarify, do you mean that you are still seeing this error now if you try again now?

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    awb wrote:

    ...

    POST:

    POST https://api.dropboxapi.com/2/team/features/get_values HTTP/1.1
    Authorization: Bearer omitted
    ...


    Hi awb,

    I was surprised that Dropbox tolerates such a protocol mistake. The requests fail on Dropbox API servers because of much smaller mistakes.

    How actually did you construct such a request? 🧐 The supported .Net SDK doesn't do this.

    Hm..🤔 Or maybe it's some sort of your copy/paste mistake like the missing separator between request header and request body.

    If you have used your custom HTTP client, you may need to check how correct is its work! And if so, does your issue disappear when you use the default HTTP client (i.e. without setting custom one)?

    Hope this gives directions to check different possible issue sources.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 20 hours ago
193 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!