Ungültiges UL4-Template (invalid-ul4-template)

Dieser Fehler tritt dann auf, wenn bei einer URL über die ein Template angelegt werden kann (Anzeige-Template, internes Templates, E-Mail-Template) ein ungültiges UL4-Template übergeben wurde.

Beispiel:

>>> api_key = "680a032bdtUrdhiMqYLfCRtAiVLMXxmQuKdvpPSBDGuTGsDpdliRYMGaKYoBOxNYDynSxANtfGyJJwpMGtevJtqEiRwDMfZGFh"
>>> response = requests.put(
...     "https://my.living-apps.de/rest/apps/5bffc841c26a4b5902b2278c/internaltemplates/gurk",
...     headers={
...         "Accept": "application/json",
...         "Content-Type": "text/plain",
...         "X-API-KEY": api_key,
...     },
...     data="<?printx a(x=42, 23)?>",
... )
>>> pprint.pprint(response.json())
... {'detail': 'SyntaxError: positional argument follows keyword argument',
...  'source': '<?printx a(x=42, 23)?>',
...  'stacktrace': [{'location': {'col': 1,
...                               'endoffset': 22,
...                               'line': 1,
...                               'startoffset': 0},
...                  'source': {'error': '<?printx a(x=42, 23)?>',
...                             'prefix': '',
...                             'suffix': ''},
...                  'template': ['app_5bffc841c26a4b5902b2278c.internaltemplates.gurk'],
...                  'type': 'll.ul4c.LocationError'},
...                 {'message': 'positional argument follows keyword argument',
...                  'type': 'SyntaxError'}],
...  'status': 400,
...  'title': 'Invalid UL4 template',
...  'type': 'https://my.living-apps.de/docs/REST-Service_error_invalid_ul4_template.html'}