ORS Error - Script does not have an application

So I have a URI specified in the script object but I always get this exception and no session is started.
Does anyone have any ideas what the problem might be?
The same application is running fine in other environments …

16261 22:00:54.071 {SessionManager:2} Error processing routing Script [XXXXXXXXXX] associated with device [XXXXXXXXXX]
16262 22:00:54.071 {SessionManager:2} DN[XXXXXXXXXX] does not have an application specified

Did you provisioned the DN with the ORS settings?

Yes I have provisioned the DN to the script.

Is your DN in the Orchestration? Any fetch error?

What about the permissions?

It seems like incorrect configuration on DN level for Orchestration - check your deployment and follow the documentation