I published an App Script as a web app and everything runs fine when I use the web app URL.
https://script.google.com/a/macros/[mydomain]/s/[servicekey]/exec
When I go into a Google Site and try to insert a "Google Script Gadget" and select the URL of my web app I keep getting a message that says "The URL is not recognized as a valid Google Script". However, if I copy and past the URL in a new browser window the web app comes up just fine. Is it not possible to insert a published web app into a Google site?
I even tried using the old naming convention as described here but no luck.