I am using useFetcher to submit a form. It submits to an API route and from there to an external API. If the external API returns a status 422, I return the following response to the fetcher from the API route:
status: 422,
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json;charset=UTF-8',
}
}); ```
In the browser inspector I can see that the status 422 is being returned to the fetcher, however Remix is still doing the additional GET requests after. Any ideas what I'm doing wrong?.. thanks.