Discord.errors.notfound: 404 not found (error code: 10062): unknown interaction

discord.errors.notfound: 404 not found (error code: 10062): unknown interaction

This error occurs in Discord’s API when a request is made to interact with an unknown or non-existent interaction. The error message indicates that the requested interaction was not found, resulting in a 404 Not Found HTTP response code.

Possible Causes

  1. The interaction you are trying to access or interact with does not exist.
  2. The interaction may have expired or been deleted.
  3. There might be an issue with the API or server.

Resolution

  1. Make sure you are providing the correct ID or reference for the interaction you want to access.
  2. If the interaction is temporary or time-sensitive, ensure that it is still valid and has not expired.
  3. Check with the Discord API documentation or community for any known issues with the API or server.
  4. If the issue persists, consider reaching out to Discord support for further assistance.

Example Error Response

{
  "message": "404 Not Found",
  "code": 10062,
  "errors": [
    {
      "code": 10062,
      "message": "Unknown Interaction"
    }
  ]
}
  

In the example above, the error response provides additional details about the error. The “message” indicates the HTTP response code, “code” specifies the specific error code, and “errors” provide further details such as the error code and error message.

Related Post

Leave a comment