rest api batch GET request throwing 500 internal server error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 04:30 AM
I was trying to fetch data through servicenow batch request but somehow it is throwing 500 status code error. Please find the payload and the error message. Please advise me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 10:15 AM
Hello @dileepppdominic ,
Change the headers to below example and try
Authorization
header from the inner request and pass it only in the outer request- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 04:45 AM
thanks for the answer but still having same error and without Authorization header it is throwing Authorization error.
https://testdd9999.service-now.com/api/now/v1/batch --------------------
Migrating Jira issue in Batch No 1, from 1 to 2 Completed
{'error': {'message': 'User Not Authenticated', 'detail': 'Required to provide Auth information'}, 'status': 'failure'}
Migration completed please verify the migration report excel file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 05:15 AM
Hello @dileepppdominic ,
IT looks like authentication issue. Please try to check the token if it is expired.
Next check if the user you are using to authenticate has access rights.
Also, check the migration report for issue if any mentioned. Also share the screenshot if possible.
Regards,
Omkar