Hello Make community,
I am encountering an error in my scenario where I’m trying to create a company in Kommo. My goal is to map custom fields with values dynamically, but I’m facing JSON parsing issues.
Scenario Description:
- Module: Create a Company in Kommo.
- Aim: To dynamically assign values to custom fields within Kommo.
Problem:
Upon execution, the scenario fails, and I receive the following errors:
Function 'formatTimestamps' finished with error!
Function 'parseCustomFields' finished with error!
Unexpected token + in JSON at position 9
Steps I’ve Tried:
- I made sure that the JSON syntax for the custom fields is correct by using the {“value”: “parameter”} format.
- I attempted to run the scenario with and without the JSON structure.
- Checked for any syntax errors near position 9 in the JSON.
Encountered Problems:
The error persists, and I’m unable to determine the cause of the unexpected token at position 9 in the JSON. It’s not clear which part of my JSON is causing the issue.
Attachments:
I have included screenshots of:
- The error messages I am receiving.
- My scenario setup, highlighting the custom fields configuration.
- The module configurations and the mappings I have used.
Can anyone help me identify what might be causing this error and how to resolve it?
Thank you in advance for your assistance!