Open ravisoni6262 opened 1 year ago
@ravisoni6262
Examining the log file:
The 'recipient_id' argument is empty when sending the request to '/users/@me/channels' which gives the response error 50035
:
{"code": 50035, "errors": {"recipient_id\": {"_errors": [{"code": "NUMBER_TYPE_COERCE", "message": "Value "" is not snowflake."}]} }, "message": "Invalid Form Body"}";
Something else very remarkable and is repeated often enough times :
"body\";s:92:\"{\n \"global\": false, \n \"message\": \"You are being rate limited.\", \n \"retry_after\": 8.188\n}\n\";s:8:\"response\";a:2:{s:4:\"code\";i:429;s:7:\"message\";s:17:\"Too Many Requests\";
According to the official discord doc :
All bots can make up to 50 requests per second to our API. This is independent of any individual rate limit on a route. If your bot gets big enough, based on its functionality, it may be impossible to stay below 50 requests per second during normal operations.
@younes-dro
Some members are not getting roles assigned. I turned on logging. I see a ton of 50035:Invalid Form Body errors.