How can I make the flow ignore parse errors?
I keep getting this at the end of a flow, that posts something using HubSpot. I'm thinking this error is because HubSpot returns `SUCCESS` text instead of JSON after successful request. I'm looking for a way to ignore errors like this from appearing in the error list during runtime. However, I can't find a way to do it.
An invalid JSON is sent in the response.body, error: please ensure that you have wrapped all JSON property names in quotes. details: Unexpected token S in JSON at position 0
Error ID: 1412159407
Classification : Parse
Trace key : 56851 - 56801
Yahya Fati Haji what Hubspot endpoint are you using? Can you sent screenshots of the overall flow setup and that Hubspot import step? I'm wondering if you may be using an older Hubspot api version (v1) instead of v3. If you're on v3, then I have another thought, but could validate it on my side after seeing your overall flow and setup.0
I'm using the Merge Contacts endpoint, which is a v1 API endpoint in HubSpot, and there is no v3 equivalent for that (I couldn't find it if there is).
Here is a screenshot of the flow:
Here is a screenshot of the last (import) step in the flow0
Yahya Fati Haji it looks like there is a v3 version of this endpoint. Will this work for you? https://developers.hubspot.com/docs/api/crm/contacts#endpoint?spec=POST-/crm/v3/objects/contacts/merge1
Tyler Lamparter Thanks a lot. This solved my problem.1
Please sign in to leave a comment.