Legacy Dev Forum Posts

 View Only

Sign Up

Private Embedded Framework Error

  • 1.  Private Embedded Framework Error

    Posted 06-05-2025 18:49

    Shane_Jenkins | 2020-07-20 19:38:36 UTC | #1

    Hi all,

    We have made some progress but are now attempting to use the private deployment option for PEF. Below is what our iFrame URL, OAuth URIs and the error message we're getting. We using the example Github application framework.js file and have uploaded it.

    We know we must be missing something, is there something we can double-check?

    iFrame URL: src="https://apps.usw2.pure.cloud/crm/embeddableFramework.html?enableFrameworkClientid=true"

    OAuth URIs are:

    https://apps.usw2.pure.cloud.com/crm/authWindow.html https://apps.usw2.pure.cloud.com/crm/embeddableFramework.html https://apps.usw2.pure.cloud.com/crm/index.html

    The error we see is: (tested from both Chrome and FireFox)

    Fingers crossed that someone can assist or has ran into this before.

    Updated the iFrame URL to include ?enableFrameworkClientid=true

    we're still getting the following error:

    "externals.js:132 SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at Object.getPersistent (app.js:513) at Object.selectedFramework (app.js:423) at getClientIdFromSelectedFramework (app.js:338) at redirectToClient (app.js:296) at selectFramework (app.js:276) at app.js:156 at app.js:177 at externals.js:145 at m.$digest (externals.js:156) "Possibly unhandled rejection: {}"

    Thanks in advance, Shane


    system | 2020-08-20 18:09:45 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 8338