Skip to content

First api request to an endpoint is failing with 429 code #40959

Open
@rodolfoBee

Description

@rodolfoBee

Environment

SaaS (https://sentry.io/)

Version

No response

Steps to Reproduce

Unable to reproduce the issue locally, here is a redacted log from the customer. The steps attempted here are: create a release, upload source maps and create a deployment.

The error happens when creating the deployment, this is the first request made to this endpoint.

Expected Result

No 429 and the deployment is correctly created.

Actual Result

Redacted logs showing requests made and rate-limit-header values.

In the log output we've got here i've added the various rate limit headers in this format:

sync: <'X-Sentry-Rate-Limit-Remaining'> / <'X-Sentry-Rate-Limit-Limit'>
conc: <'X-Sentry-Rate-Limit-ConcurrentRemaining'> / <'X-Sentry-Rate-Limit-ConcurrentLimit'>
time: <'X-Sentry-Rate-Limit-Reset'>

[18:54:22]Uploading sourcemap auditLog/999.42c63e8185ec309b402d.js.map to release VERSION
[18:54:23]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720464 - False

[18:54:23]Uploading sourcemap auditLog/71.84c0415c6fd296cb838b.js.map to release VERSION
[18:54:23]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 198 / 200 || conc: 199 / 200 || time: 1666720464 - False

[18:54:23]Uploading sourcemap auditLog/469.68d5f13767626666eccb.js to release VERSION
[18:54:24]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720465 - False

[18:54:24]Uploading sourcemap auditLog/857.d58c3ac1d37a4ccc1ee8.js.map to release VERSION
[18:54:25]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720466 - False

[18:54:25]Uploading sourcemap auditLog/ScAdmin-AuditLogUtil.remoteEntry.bae1a012e363a9822dd1.js to release VERSION
[18:54:26]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720467 - False

[18:54:26]Uploading sourcemap auditLog/700.aa0bcdb17ffc352f4e03.js.map to release VERSION
[18:54:26]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 198 / 200 || conc: 199 / 200 || time: 1666720467 - False

[18:54:26]Uploading sourcemap auditLog/ScAdmin-AuditLogUtil.remoteEntry.bae1a012e363a9822dd1.js.map to release VERSION
[18:54:27]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720468 - False

[18:54:27]Uploading sourcemap auditLog/500.f7b96ebcdf3033bfead0.js.map to release VERSION
[18:54:28]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720469 - False

[18:54:28]Uploading sourcemap auditLog/469.68d5f13767626666eccb.js.map to release VERSION
[18:54:29]urlopen: https://sentry.io/api/0/projects/ORG_SLUG/PROJECT_SLUG/releases/VERSION/files/ || sync: 199 / 200 || conc: 199 / 200 || time: 1666720470 - False

[18:54:29]Marking release VERSION as deployed in environment stage-dev
[18:54:29]b'"You are attempting to use this endpoint too frequently. Limit is 40 requests in 1 seconds"'
[18:54:29]urlopen: https://sentry.io/api/0/organizations/ORG_SLUG/releases/VERSION/deploys/ || sync: 0 / 40 || conc: None / 25 || time: 1666720470 - False

For non Redacted logs, please view the internal ticket on this link.

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions