The CreatorCon Call for Content is officially open! Get started here.

Data Source - REST - error when loading test records

Petr Pastuszek1
Tera Contributor

 

Hello team,

Im trying to load data from 3rd party system via Data Source, type REST.

Request action tested in flow designer returns below JSON.

I configured below data source with this path.

PetrPastuszek1_1-1708888365058.png

 

Cannot figure out why Im getting back this error.

 

PetrPastuszek1_0-1708888252603.png

Cannot figure out where the problem is. Please share your knowledge, thank you

/Petr

 

 

REST Step in flow designer returns below data structure:

{
"Report_Entry": [{"Company_Name": "Test 1"},
{"Company_Name": "Test 2"},
{"Company_Name": "Test 3"}]}

5 REPLIES 5

Tony Chatfield1
Kilo Patron

Hi, unfortunately your post does not make you issue\error clear.
The supplied JSON looks valid, perhaps you could clarify your configuration\issue and provide details of your diagnostics.

Hello,

according to SNOW instructions I created a new Action for Data Source in Flow Designer.

Below are images. I tested action directly in flow designer and all worked well.

 

In the script step Im getting Bearer token, all OK.

In REST step Im accessing and pulling data from 3rd party system, all OK

See images below, Im getting JSON as a response, all OK.

So from flow designer it works good.

I cannot figure out why Im getting error in Data Source component, images below

 

/Petr

 

Tests in flow designer directly:

PetrPastuszek1_0-1709017967827.png

 

PetrPastuszek1_1-1709017984790.png

 

Afterwards testing in data source to load 20 records, end result error:

 

PetrPastuszek1_3-1709018023991.png

 

PetrPastuszek1_2-1709018010431.png

 

 

 

Sumanth16
Kilo Patron

Hi @Petr Pastuszek1 ,

 

Please refer to below articles:

https://www.servicenow.com/community/developer-forum/data-source-using-rest-integration-hub/m-p/2792...

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1579132

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Im sorry but after reading this posts provided by you, Im not able to find a solution to my problem.

 

/Petr