External users connected through JWT are unable to create ODAG apps from a template. Internal users are able to create apps as expected.
Browser development tools report the following error:
"msgCode": "ODAG-ERR-1143", "replacements": { "appId": "TEMPLATE-APPID", "err": { "name": "RequestError", "message": "The request returned an unexpected result.", "status": 400, "headers": { "cache-control": "private, must-revalidate, max-age=0", "date": "TIMESTAMP", "expires": "TIMESTAMP" }, "body": { "link": {}, "errors": [ { "message": "Bad Request", "status": 400 } ] } } } } ] } } }, "retentionTime": 0, "validation": { "contents": [ "Failed to copy the app: TEMPLATE-APPID", ….. "
A matching error (ODAG-ERR-1143) can be found in the Qlik Sense OdagService logs in C:\Programdata\qlik\sense\log\OdagService\TIMESTAMP.log.
Resolution
An ODAG Service limitation prevents the duplication of ODAG App templates if the user contains the ‘|’ (pipe) character.
Workaround:
Review JWT integration to avoid "|" (pipe) characters in the username used to identify users on Qlik Sense.
Cause
Product Defect ID: QB-27979
Environment