Forum Discussion
1 Reply
- HumashankarChampion Level 2
Hi benlynch
The 422 error in your GET call to Stoplight's free mock service may be attributed to two possible causes.
Primarily, the free version may have limitations in handling request parameters in mock responses, leading to a missing request parameter configuration.
This could be due to the absence of expected parameters in your cURL request or inadequate configuration in the mock service.
To troubleshoot the issue, begin by verifying your mock service setup for the GET endpoint, ensuring that expected request parameters and corresponding responses are defined.
Also, review your cURL request to ensure it includes required parameters in the URL or headers, as specified by the API design.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
Related Content
- 2 years ago
- 2 years ago
Recent Discussions
- 6 days ago