Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

REST API connection failed

AlexBlk
Tera Contributor

Hello all, 

 

I had to connect an api to ServiceNow 

My connection work when I use the "classical" way, id est http request, data are incomming, but with Flow designer (in the way to use integration hub), I have a 400 error while using the same connection.

 

Do you please have any clue that would allow me to unblock the situation?

 

 

Have a nice day

1 ACCEPTED SOLUTION

Danmax
Tera Expert

Hi Alex,

 

How are you Authenticating?

When you say "My connection work when I use the "classical" way, id est http request, " Also are you using an Action > Rest Step > Script or is this connection on a Flow Action?

 

How to Debug Outbound HTTP Requests with System Log 

For Vancouver 

 

For Tokyo

 

 

 

View solution in original post

4 REPLIES 4

Marco0o1
Tera Sage

Hi @AlexBlk , 

Can you share more about the error, like a screenshot in the flow designer, you created a REST Step for an action, share more information about what are you doing.

Danmax
Tera Expert

Hi Alex,

 

How are you Authenticating?

When you say "My connection work when I use the "classical" way, id est http request, " Also are you using an Action > Rest Step > Script or is this connection on a Flow Action?

 

How to Debug Outbound HTTP Requests with System Log 

For Vancouver 

 

For Tokyo

 

 

 

AlexBlk
Tera Contributor

Hello, 
I'm sorry, I did'nt saw your answer.
Thank you very much for replying

 

I have finished to success on the connection with the rest API, it was a misconfiguring url connection on the Connection alias menu :s

 

Thank again for your time and have a nice day

 

Alex

Dr Atul G- LNG
Tera Patron
Tera Patron

HI @AlexBlk 

https://youtu.be/d5WYx8dc9sE

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************
ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality is not allowed! ...