Embedded Framework waiting for Framework Library

The Genesys iframe client is getting a spinning wheel and fails to load:

Iframe URL: src="https://apps.mypurecloud.com/crm/index.html?crm=framework-local-secure"

Framework.js is accessible at localhost/framework.js:

The app is served with webpack and the page loads but the iframe is continually loading. If someone could assist?

What request to load the framework.js file is being made in the network console in your browser? I assume it's the one in step 6 here (https://localhost/framework.js), which would be made to port 443 and not your port of 9025.

meant to reply to your post. sorry very new to the forum.

Changed the app port to 443, not logs are showing (Client id was not provided for the current enviroment: mypurecloud.com):

clientID is in the framework.js file

I don't think you can, but I'm asking the team in case I missed anything.

That sounds correct based on the screenshot from your original post. You only provided a client ID for usw2.pure.cloud. If you're intending to use usw2, I believe you should change your iframe URL to the regional apps domain for the region you intend to use (i.e. apps.usw2.pure.cloud).

just to be sure the URL would be src="https://apps.usw2.pure.cloud.com/crm/index.html?crm=framework-local-secure"?

No, pure.cloud is the TLD; it's not a .com. Use this: https://apps.usw2.pure.cloud/crm/index.html?crm=framework-local-secure

1 Like

thank you! you have been extremely helpful!

1 Like