I’m using Strapi v4 with GraphQL mutation Query to post data. When I’m posting invalid Email, the API returns Internal Server Error but the validation message is properly shown in the console. “error: email must be a valid email. ValidationError: email must be a valid email”. How can I return the same message in API response instead of Internal Server Error
This topic has been created from a Discord post (1300770545339731989) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord