cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HTTP request problem

HTTP request problem

GSean
New member | Level 2

Hi, I'm looking for help with the following HTTP request problem:

For my student app security project, I analyzed HTTP traffic between a third-party mobile app (Android) and its server, which is using CloudFront CDN.

For testing, I selected one of the requests from the existing HTTP traffic, along with its headers and request body. I began sending such requests to the server of the abovementioned mobile app. Moreover, with each sending, the request's body contains the specific parameters received from the user’s phone, so such requests cannot be classified as spam.

For about three weeks and with a frequency of about 20 times per hour, my requests passed through without errors; that is, in the response from the server, I received the 200 statuses along with the data.

However, starting at some point, I started receiving a 429 error with response headers, from which it is clear that I have exceeded the request rate limit, and this even though I am currently making no more than one request per hour: "x-envoy -ratelimited": "true".

Below is a copy of the headers that come in the server response along with error 429:

{

"content-length": "0",

"strict-transport-security": "max-age=15552000",

"x-content-type-options": "nosniff",

"x-envoy-ratelimited": "true",

"x-envoy-local-reply": "true",

"vary": "Accept-Encoding",

"date": "Wed, 31 Jan 2024 11:48:59 GMT",

"server": "envoy-iad",

"x-cache": "Error from cloudfront",

"via": "1.1 d8defd690c445023198cdbef1992d5f4.cloudfront.net (CloudFront)",

"x-amz-cf-pop": "ORD56-P2",

"alt-svc": "h3=\":443\"; ma=86400",

"x-amz-cf-id": "iHTg9k39NclExW_rlVGuEE3iLt4Q93b-zyXor4WOUueqAEOBo_HKaQ=="

}

I know for sure that the server limits on incoming traffic have not changed for my project, and I don’t receive a Retry-After header in the server response.

Question: has anyone encountered such a problem, and how can I get around it?

I will be grateful for any idea, even if it is not necessarily proven by experience.

1 Reply 1

Greg-DB
Dropbox Staff

This is a forum for help with the Dropbox API in particular. It looks like the error you're investigating is coming from CloudFront, not Dropbox, so we can't offer support for that.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?