The delete_item mutation is giving 500 error instead 404 error

Whenever trying to delete the item, getting 500 status code instead 404 not found error.

Below is the error for non existing item delete mutation.
{
“error_message”: “Internal server error”,
“status_code”: 500
}

We are expecting 404 not found in case incorrect item id.

Regards
Prashanth

Hello @prasmadd!

Can you please provide a screenshot of your Playground which includes the query you are using and the response you see?

Looking forward to hearing from you :slightly_smiling_face:

Cheers,
Matias

Hi @Matias.Monday

Please find the screenshot for the 500 error in Playground.

Regards,
Prashanth

Hello @prasmadd !

You are using a wrong item ID here.

Could you please try using a valid item ID?

If You’re Trying to Load a Page with a 500 Internal Server Error:
Refresh the page. This might seem obvious, but if it’s a temporary loading issue, you might find success if you refresh the page.
Come back later.
Delete your browser’s cookies. …
Paste your URL into the website “Down for Everyone or Just Me.”

Regards,
Rachel Gomez