I have Hasura Graphql v2.35 running in my server where suddenly the one of the insert mutation started throwing error internal server error 500
Very unusual of hasura to throw error which is not descriptive.
On inspecting the Hasura logs all i can see the
Spock Error while handling ["v1","graphql"]: InvalidUrlException "" "Invalid URL"
tried searching in forums and over a google but no luck.
What might be causing the Invalid URL where all other mutation and queries are working fine? and no new change except permission changes to this entity.
Your
input validation
is enabled and webhook URL is emtpyThis is what was causing the above issue where difficult to understand from the error message
And client side it was
Disabling the input validation definitely worked but, adding validation Webhook URL works as well