I am getting error while loading data through Data source Type REST (IntegrationHub)

Moinuddin Kazi
Tera Contributor

I have created Data source type: Rest(IntegrationHub) and Configured Request action to fetching data.
I have tested that request action in flow designer and I got below Response body:

{"offset":0,"fields":["CustomFields_network_hostname","Client_filewave_client_name","Client_device_name","Client_serial_number","DesktopClient_device_product_name","CustomFields_organization_unit","DesktopClient_last_logged_in_username","Client_last_ldap_username","DesktopClient_last_check_in","Client_current_ip_address"],"limit":1,"values":[   and so on.

 

but when i try to fetch that information through data source form link "Load All Records". so i am getting error

Message: javax.json.JsonException: Cannot auto-detect encoding, not enough chars

 

The issue is that I can't use JSON parser to fix this issue in flow designer because Data Source Request don't allow to add any step in flow designer.

 

Please provide any solution how can i fix this issue. I want to load data in import set table from response body .

 

Below, i have attached the some images. 

 

 

2 REPLIES 2

midjoule
Kilo Sage

Hi,

I'm facing the same issue. You might have found a solution since then. Would you remember it ?

I came across this knowledge article, but it didn't help me so far: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1635214

 

Best regards

Hi @midjoule wondering if you found anything more about this? Also, I tried searching for that KB article but it looks like it is no longer available. Do you recall what it suggested?