"Tried to show an iframe with a location that is neither absolute nor an asset" when trying to render a React app in nav_bar

6 Comments

  • Zach Anthony
    Zendesk Product Manager

    Hi Jesse,

    Do you mind sharing your manifest configuration? And is this error happening after installing the app or while you are locally testing? 

    0
  • Jesse Zuniga
    {
    "name":"",
    "author":{
    "name":"",
    "email":"",
    "url":""
    },
    "defaultLocale":"en",
    "private":true,
    "location":{
    "support":{
    "nav_bar":"assets/index.html"
    }
    },
    "version":"1.0",
    "frameworkVersion":"2.0"
    }
    It's happening while locally testing.

    0
  • Zach Anthony
    Zendesk Product Manager

    Hi Jesse,

    So this looks like it's related to a bug we have identified with ZCLI. We are going to be working on resolving this in the next few weeks, however, in the interim you can try specifying the URL as a property of the location; this should resolve your issue.

    e.g.

    "support": {
    "nav_bar": {
    "url": "assets/index.html"
    }
    }

    Hope this helps!

    0
  • Jesse Zuniga

    Yup that did it! Thanks. When the ZCLI bug is fixed, will I need to revert back to the previous version of manifest (not declaring "url")?

    0
  • Zach Anthony
    Zendesk Product Manager

    Hey Jesse,

    When the ZCLI bug is fixed, you won't need to revert back to the previous version of the manifest as both ways of providing the url are supported.

    0
  • Zach Anthony
    Zendesk Product Manager

    Hey Jesse, just wanted to give you an update that we have released a new version of ZCLI (1.0.0-beta.16) which resolves this issue.

    0

Please sign in to leave a comment.

Powered by Zendesk