You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As soon as the option postCallbacks is set to true, PING requests (Interaction Type 1) for HTTP Interactions can no longer be verified by Discord, as it is currently not possible to respond to PING interactions via the callback endpoint, instead it is required to respond directly to the request with status 200 and PONG (Interaction Callback Type 1) (Docs).
I have already opened a Discord issue (discord/discord-api-docs#7311) for this, but it is unclear if and when this will be changed.
For now, PING interactions should always be answered directly, even if postCallbacks is set to true.
2024-12-16 12:48:52 Got request
2024-12-16 12:48:52 Raw Request: Type 1, ID 1318183058574413864, Token aW50ZXJhY3Rpb246MTMx...VElYYnJVd3JrcTdpTmlFcEVZQVkzWQ
2024-12-16 12:48:52 Respond with Status 202
2024-12-16 12:48:52 Raw REST: POST 404 https://discord.com/api/v10/interactions/aW50ZXJhY3Rpb246MTMx...VElYYnJVd3JrcTdpTmlFcEVZQVkzWQ/callback?with_response=true
2024-12-16 12:48:52 POST /interactions/:id/:token/callback (POST:/interactions/:id/:token/callback:global) 404: 153ms | 1/1 left | Reset 1734349732857 (0ms left)
As soon as the option
postCallbacks
is set totrue
, PING requests (Interaction Type 1) for HTTP Interactions can no longer be verified by Discord, as it is currently not possible to respond to PING interactions via the callback endpoint, instead it is required to respond directly to the request with status 200 and PONG (Interaction Callback Type 1) (Docs).I have already opened a Discord issue (discord/discord-api-docs#7311) for this, but it is unclear if and when this will be changed.
For now, PING interactions should always be answered directly, even if
postCallbacks
is set totrue
.slash-create/src/creator.ts
Lines 567 to 585 in a6c1ac7
The text was updated successfully, but these errors were encountered: