Rest message is not working

sujarenga
Giga Contributor

Hi Team,

 

I have a PDI and I was trying to establish a connection with another PDI by using REST Message

Authentication type- Basic, credentials are provided correctly

HTTP request - Content -Type  , value - application/json

                           Accept   , value - application/json

 

Http status- 400

 

Below is the error code:

 

<html><head><title>ServiceNow - Error report</title><style><!--body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}--></style> </head><body><h1>HTTP Status 400 – </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception Report</p><p><b>Message</b> <u></u></p><p><b>Description</b> <u>http.400</u></p><HR size="1" noshade="noshade"><h3>ServiceNow</h3></body></html>

 

Note- Versions are different in both PDI

 

Tried with similar versions as well with different patch, still it is not working.

Any inputs are highly appreciated.

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@sujarenga 

Refer below link for step by step instructions on how communication can be done between 2 instances

ServiceNow to ServiceNow Integration using REST API and PUSH and PUT methods with Business Rule

also attached a pdf for your reference which I had from some community post

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

@sujarenga 

Hope you are doing good.

Did my reply answer your question?

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