"the host declined to create a scene" calling requestSceneSessionActivation

I have a multi-window app. Additional scenes can be properly created from the dock, although I'm not able to create a new scene programmatically via requestSceneSessionActivation.
I get the following error: Open window errror: The operation couldn’t be completed. the host declined to create a scene.

Any thoughts?
Have you checked that Settings > Home Screen & Dock > Multitasking > Allow Multiple Apps is enabled?
Yes. As I said, manually from the dock the app is allowed to create multiples scenes. When I do that programmatically it doesn’t work.

Did you ever figure it out? I am now running into the same issue.

Have been struggling to resolve the same problem for about two days. Turned out the application should not require full screen when supporting multiwindow/multiscenes:

"the host declined to create a scene" calling requestSceneSessionActivation
 
 
Q