When the appID configured inside .app.jsonc file is not a user-managed project we get an ugly APIError with json data.
Error deploying functions: { "message": "This endpoint is only available for apps with user-managed source code", "detail": null, "traceback": null, "extra_data": { "app_id": "69865a4ce771b575b92e5ff1", "reason": "managed_source_code_app" } }