Data Source - REST - error when loading test records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2024 11:13 AM
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.
Cannot figure out why Im getting back this error.
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"}]}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 01:41 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 11:14 PM
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:
Afterwards testing in data source to load 20 records, end result error:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 02:37 PM
Hi @Petr Pastuszek1 ,
Please refer to below articles:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 11:23 PM
Im sorry but after reading this posts provided by you, Im not able to find a solution to my problem.
/Petr