Getting 400 error from rest api action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 02:21 AM
I have created the REST API action to trigger the api url. it is showing as completed but giving the 400 error which leads to not running api call please refere below screenshot suggest me what should do to resolve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 02:28 AM
@Tippireddy Venk Are you calling any third party application API's ? This 400 error comes when request sent by client is not appropriate. Test these API's in any REST tool like Postman.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 02:31 AM
HI @Tippireddy Venk
Please check if your API base URL is formatted correctly.
it shouldn't have any extra "/".
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 02:31 AM
If you are calling 3rd party API then did you check what they expect in the HTTP method and you are sending those details correctly.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
