Skip to main content

Unexpected RIGHT_BRACE

Unexpected RIGHT_BRACE("}"') in state COLON' with DeployIssueTracker.monitor

Description

There is a syntax problem the JSON (JavaScript Object Notation).

Possible Causes

  • Incorrect JSON Formatting - An extra closing brace } has been added, or a required opening brace { is missing.
  • Template rendering errors - A dynamic template, like Jinja, can create invalid JSON if a variable is empty, incorrect, or if the template logic itself has an error.
  • Parameter section formatting - Problems with JSON structure in the parameters section of Nodes.

Possible Solutions

  • Mismatched Braces - Manually count your opening { and closing } braces to make sure they match. Look for any extra }, brackets.
  • Escaping Quotes - Make sure any quotation marks " within a string value are properly escaped with a backslash (\").
  • Trailing Commas - Ensure there are no commas after the last item in an object or array.
  • Verify the Parameters Section - Double-check the JSON structure inside the parameters section of your Nodes.
  • Look for Unclosed Jinja References - If you're using Jinja templating, ensure all references (for example, {{ params.my_param }}) are correctly written and closed.