How long can the REST API call URL be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 10:17 PM
I want to query the Table API for sys_db_object by providing few table names in the query param to get their info.
This makes the URL longer than 500 characters. I tested that URL on couple of instances with Postman as well as python. I am able to make the API call and get expected response.
So I want to know if all the instances have a large limit for URL by default and I will be able to make the API call successfully on all of them?
FYI: Making changes into Servicenow account is not easy since I do not have the access to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 10:33 PM
Hi,
I don't think any configuration tells you what is the max length of URL which is supported.
Have a look on this
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 01:37 AM
Thank you for suggesting tiny url. Anything that requires changes into Servicenow instance is not possible since no access.
My doubt was, there must be some maximum limit to the URL right? Is there any way to find out what it is?
Second, if an API call works on my instance, can I assume it will work on other instances too?
Thanks,
Shrinil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2022 09:15 PM
If anyone of you can help me with this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2022 09:20 PM
Hi did you check this
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0829648
Harish