Successfactors spoke: "Retrieve departments" fails with JsonStreamParser error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 01:59 AM
Hi everyone.
We configured integration with SF on our instance, and some actions seems to be working correctly, for example "Retrieve worker profiles".
But during "Retrieve departments" test run we're getting an error saying:
com.glide.transform.transformer.exceptions.InvalidStructureException: JsonStreamParser[0]: JSON must be an object or an array: '<'
Error occurs in parser's Splitter step, and I see there that source format indicated as JSON indeed, but according to logs we're getting the answer as xml, so could this be a reason?
If so, what's the workaround for this? Does anyone else encountered this error?
Any input is highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 06:00 AM
Hi Artem,
difficult to say what the real root-cause is. We had a similar issue where the splitter failed, because the JSON was empty, because our oAuth was not setup properly and I've figured that out by digging into the actions directly and logging them wherte I've seen in the end a "401 error" - maybe that helps you.
Cheers,
Julian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 12:15 AM
Hi Julian
As I mentioned we're getting a response which is seen from logs, so most likely we have a different error.
Thank you for your answer anyway.
Best,
Artem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 06:13 AM
So, we discovered that all actions in SuccessFactors spoke including JSON receivement are failing, and all XML-based actions are working correctly.
We still haven't figured out the solution, so any suggestions are appreciated.