Failed to fetch error – ReactJS + GraphQL [closed]

Failed to fetch error – ReactJS + GraphQL [closed]


-2

We get "Failed to fetch" error when ReacjJS connecting to GraphQL. The error doesn’t give any more details as it seems it is failing to connect GraphQL server. We tried to fix CROS, added IP address instead of local host or domain.. nothing seem to be working. Need help.

Worked on CORS

Changed IP address to 0.0.0.0 instead of local host or domain name in API URL

Tested in multiple environments (dev, qa, UAT, prod)

New contributor

Sateesh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Load 5 more related questions


Show fewer related questions

0

Leave a Reply

Your email address will not be published. Required fields are marked *