- I'm getting an error when trying to make a json request to a remote Shopify API using HttpWebResponse
- It fails on this line - HttpWebResponse response = (HttpWebResponse)request.GetResponse()
- The error is server returned an error: (422) Unprocessable Entity
- The JSON is well-formed, and the data is correct
- When I check using Fiddler on my local machine, there is no http request being made
- How can I diagnose the issue, or what could be the cause of the error?
0
votes
For Fiddler, take a look at this SO Article: Get HTTP requests and responses made using HttpWebRequest/HttpWebResponse to show in Fiddler
– jdigital
See this Shopify Forum discussion: How can I see exact Errors via API testing
– jdigital
Thanks jdigital. If you want points, put this as an answer
– Chris Halcrow