Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

11320: Invalid template unclosed brackets


ERROR: 11320

error-11320 page anchor
ERROR

This error occurs when your URL template is not formatted correctly. Check the template for unmatched variable brackets, especially in media or button url fields that use Content API variables.

Possible causes

possible-causes page anchor
  • A variable placeholder in a URL starts with {{ but does not end with }}.
  • A media URL or URL button was edited manually and left unmatched brackets in the template string.
  • A sample URL path was added incorrectly when inserting variables into a URL-based field.
  • Review each templated URL and make sure every opening {{ has a matching closing }}.
  • Use supported variable placeholders such as {{1}} or {{IdName}}. Do not include spaces inside variable names.
  • If the URL uses variables in media or url, provide a valid sample value in the variables object so the combined URL resolves to a publicly accessible file or website.
  • Save the corrected template in Console or resend the corrected Content API request.

Additional resources

additional-resources page anchor