Open
Description
Description
When verifying an endpoint for HTTP interactions, the PING request (Interaction Type 1) must be acknowledged directly via an HTTP response with a status 200 and a PONG payload (Interaction Callback Type 1). Attempting to respond via the callback endpoint (POST /interactions/:id/:token/callback
) instead results in a 404 error, causing endpoint verification to fail.
It was recommended by a Discord staff to open an issue so this behavior can be re-evaluated.
Steps to Reproduce
- Discord sends a valid POST request with a PING payload (Interaction Type 1) to the provided endpoint to verify the endpoint
- The app responds with status code 202
- The app posts a PONG payload (Interaction Callback Type 1) to the callback endpoint (
POST /interactions/:id/:token/callback
) using the interaction id and token provided in the initial request - Discord responds with a 404 error, and the endpoint verification fails
Expected Behavior
It should be possible to use the callback endpoint to respond to PING requests, similar to other interaction types
Current Behavior
Discord rejects the callback request with a 404 error, making it mandatory to respond directly to the initial HTTP request to complete endpoint verification
Screenshots/Videos
No response
Client and System Information
API v10