discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Scheduled Events 500 Internal Server Error

Open IllagerCaptain opened this issue 1 year ago • 1 comments

Description

Sending null for all entity fields returns 500 Internal Server Error

Steps to Reproduce

✔️ Send a PATCH request to a scheduled event (Tested with EXTERNAL type, should work with STAGE_INSTANCE and VOICE too though.) with the following payload:

{
    "entity_type": null,
    "entity_id": null,
    "entity_metadata": null
}

❌ It returns a 500 Internal Server Error.

Expected Behavior

It should return 400 Bad Request.

Current Behavior

It returns 500 Internal Server Error.

Screenshots/Videos

No response

Client and System Information

OS: Windows 10 Home 21H2 Browser: Google Chrome 104.0.5112.81 API Version: v10 Library: Postman

IllagerCaptain avatar Aug 07 '22 16:08 IllagerCaptain

Somehow #4154 repeats itself

ooliver1 avatar Aug 07 '22 17:08 ooliver1