Getting 400 error from rest api action

Tippireddy Venk
Tera Contributor

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.

TippireddyVenk_0-1754040076534.png

 

3 REPLIES 3

SANDEEP28
Mega Sage

@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 !!

J Siva
Kilo Patron
Kilo Patron

HI @Tippireddy Venk 
Please check if your API base URL is formatted correctly.
it shouldn't have any extra "/".
Regards,
Siva

Ankur Bawiskar
Tera Patron
Tera Patron

@Tippireddy Venk 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader