Sample error messages
- Hook file error – SyntaxError: ‘try’ without ‘catch’ or ‘finally’
- An invalid JSON is sent in the response.body, error: Unexpected string in JSON at position 1831.
- SyntaxError: Unexpected end of input
- Unexpected token } in JSON at position 191, please ensure that you have wrapped all JSON property names in quotes.
- An invalid JSON is sent in the response.body, error: Unexpected token ‘ in JSON at position 1.
- Failed to add Shopify Order #1700510007371. Could not compile handle bar \”{{#compare source_name \”==\” \”pos\”) }}13143{{else}}23863{{/compare}}\” because \”Parse error on line 1:\n…urce_name \”==\” \”pos\”) }}13143{{else}}238\n———————–^\nExpecting ‘CLOSE’, ‘OPEN_SEXPR’, ‘ID’, ‘OPEN_BLOCK_PARAMS’, ‘STRING’, ‘NUMBER’, ‘BOOLEAN’, ‘UNDEFINED’, ‘NULL’, ‘DATA’, got ‘CLOSE_SEXPR’\” .Please correct and retry
Typical cause
The integrator.io script engine encounters tokens or token order that does not conform to the expected syntax of the input language