Ungültiger Ziel-Applikation (invalid-target-app)

Der Wert, der bei Anlegen einer App für ein App-Lookup-Feld als Parameter lookup_app angegeben wurde ist ungültig.

Dies kann beispielsweise sein, wenn None übergeben wurde:

>>> import pprint, requests
>>> api_key = "6809fb00tDfPWbTVNvyeGxFQSFvNYSPTwZybcEQTBsSeMLwVeYZauwSKrEuuvxjqcdqygkoPoQJTJClxdUnSPhenetVXBzJeWI"
>>> response = requests.post(
...     "https://my.living-apps.de/rest/apps",
...     headers={
...         "Accept": "application/json",
...         "X-API-KEY": api_key,
...     },
...     json={
...         "name": "My App",
...         "description": "My new App",
...         "typename_grammatical_gender": "m",
...         "typename_nominative_singular": "Test",
...         "typename_genitive_singular": "Test",
...         "typename_dative_singular": "Test",
...         "typename_accusative_singular": "Test",
...         "typename_nominative_plural": "Test",
...         "typename_genitive_plural": "Test",
...         "typename_dative_plural": "Test",
...         "typename_accusative_plural": "Test",
...         "controls": {
...             "my_applookupselect": {"label": "my_applookupselect", "fulltype": "applookup/select", "lookup_app": None},
...         },
...     }
... )
>>> pprint.pprint(response.json())
{'detail': '`lookup_app` is missing or empty',
 'status': 400,
 'title': 'Invalid target app',
 'type': 'https://my.living-apps.de/docs/REST-Service_error_invalid_target_app.html'}

Oder auch wenn die URL nicht mit der Basis-URL übereinstimmt:

>>> import pprint, requests
>>> api_key = "6809fb00tDfPWbTVNvyeGxFQSFvNYSPTwZybcEQTBsSeMLwVeYZauwSKrEuuvxjqcdqygkoPoQJTJClxdUnSPhenetVXBzJeWI"
>>> response = requests.post(
...     "https://my.living-apps.de/rest/apps",
...     headers={
...         "Accept": "application/json",
...         "X-API-KEY": api_key,
...     },
...     json={
...         "name": "My App",
...         "description": "My new App",
...         "typename_grammatical_gender": "m",
...         "typename_nominative_singular": "Test",
...         "typename_genitive_singular": "Test",
...         "typename_dative_singular": "Test",
...         "typename_accusative_singular": "Test",
...         "typename_nominative_plural": "Test",
...         "typename_genitive_plural": "Test",
...         "typename_dative_plural": "Test",
...         "typename_accusative_plural": "Test",
...         "controls": {
...             "my_multipleapplookupselect": {"label": "my_multipleapplookupselect", "fulltype": "multipleapplookup/select", "lookup_app": "https://www.example.com"},
...         },
...     }
... )
>>> pprint.pprint(response.json())
{'detail': 'The given `lookup_app` value must be a valid URL for a target LivingApp, so it must start with `https://my.living-apps.de/rest/apps/`, but it doesn't.',
 'status': 400,
 'title': 'Invalid target app',
 'type': 'https://my.living-apps.de/docs/REST-Service_error_invalid_target_app.html'}