discord-api-docs
discord-api-docs copied to clipboard
Incorrect headers on vanity endpoint
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
You are being rate limited
- this is the correct way it should be though
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.