Making a GET api call and getting the 404 error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
when i make a get call i am getting the following response ,
with error code 404
{
"message":"no Route matched with those values",
"request_id":"c8cd112d029a3f2fbb34713f99f4f622"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Asma Khalil ,
by the error it looks like is not the typical ServiceNow REST API error. It is more commonly returned by API gateways or third-party services when the requested route doesn't exist.
Sandeep Dutta
Please mark the answer correct & Helpful, if i could help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
which API you are consuming?
Did you try consuming the API endpoint from postman?
what type of authentication are you using?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Asma Khalil
A possible reason for the no Route matched with those values error are
- You entered an incorrect HTTP method in your request, such as using GET when it should have been POST.
- You sent the request to an incorrect Endpoint/URL
- Verify your endpoint URL exactly matches the documentation
- Ensure you haven't forgotten the version prefix like /v2/ in the path .
- If you are dynamically populating end point, Ensure extra / is not getting added in the end point . In one of my integration - I faced this issue.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti