discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Incorrect headers on vanity endpoint

Open Jupith opened this issue 1 year ago • 1 comments

Description

The x-ratelimit-scope header is wrong, also error message should probs be changed from You are being rate limited to The write action you are performing on the server has hit the write rate limit

Steps to Reproduce

Send enough requests to get the guild rate limited then check the response headers

Expected Behavior

x-ratelimit-scope: shared

Current Behavior

x-ratelimit-scope: user

Screenshots/Videos

No response

Client and System Information

N/A

Jupith avatar Aug 02 '22 19:08 Jupith

You are being rate limited - this is the correct way it should be though

ratelimit-thief avatar Aug 03 '22 10:08 ratelimit-thief

This has been fixed. In this case the problem was the inverse: while the user scoped headers were correct the ratelimit was incorrectly being applied at the shared level.

rain-discord avatar Dec 01 '22 00:12 rain-discord