Common Parse Errors in integrator.io

Sample error messages

  1. Hook file error – SyntaxError: ‘try’ without ‘catch’ or ‘finally’
  2. An invalid JSON is sent in the response.body, error: Unexpected string in JSON at position 1831.
  3. SyntaxError: Unexpected end of input
  4. Unexpected token } in JSON at position 191, please ensure that you have wrapped all JSON property names in quotes.
  5. An invalid JSON is sent in the response.body, error: Unexpected token ‘ in JSON at position 1.
  6. 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

Leave a comment

Your email address will not be published. Required fields are marked *