Execution Fails : Java script error on "Send Rest request" step

Snow preck
Tera Contributor

precilaK_0-1737707007442.png

After adding payload and conditions to the "Send Rest request" ATF Step , this error shoots up , Does this mean some certification is missing on the instance we are running or some other issue. If possible do suggest how to proceed in such cases.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Snow preck 

seems issue with the connection

How is the REST step performing authentication?

When you test it manually without ATF does it work fine?

The REST Step might require some additional information before actually consuming the actual endpoint which possibly is not configured via ATF and hence failing

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Snow preck 

seems issue with the connection

How is the REST step performing authentication?

When you test it manually without ATF does it work fine?

The REST Step might require some additional information before actually consuming the actual endpoint which possibly is not configured via ATF and hence failing

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

Snow preck
Tera Contributor

Manually ATF works fine, but error shoots up on "Send API request step" which consists of same payload as sent in manual, as said there might be some connection issue, will check on the configuration.
Thanks for the support @Ankur Bawiskar