Local dev apps no longer work

Answered


Posted Sep 14, 2022

Hi,
I'm a developer of 'support' type app (ticket, user, org sidebars). Since today apps from the local environment are no longer available.
The problem is that apps tab is empty since today.
I'm trying to reach https://d3v-foobar4379.zendesk.com/agent/tickets/5?zcli_apps=true with the local dev server at http://localhost:4567 and I see empty apps folder. Yesterday my app was in the apps list tab, today this tab is empty

I'm using @zendesk/zcli/1.0.0-beta.23 darwin-arm64 node-v16.13.0 tools for serve local app.

I see in Chrome dev console that there are some issues and warnings.
1. Error with zendesk hub.html file

hub.html:1 Uncaught SyntaxError: "[object Object]" is not valid JSON
    at JSON.parse (<anonymous>)
    at CrossStorageHub._listener (hub.min.js:1:626)


2. Error with zendesk vendor file

vendor.a3b7dc240fac95aea.js:17521 Unknown initialization object: null Expected Object or Function.

3. Chrome can't load my local files because of CORB policy

Cross-Origin Read Blocking (CORB) blocked cross-origin response http://localhost:4567/app.json?locale=en&subdomain=d3v-foobar4379 with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details


I checked zcli profiles, tried to re-login, etc. 
Tried to disable CORB via Chrome feature flags - no luck.
Also tried Safari, Firefox - still no luck.


10

17

0 comments

Sign in to leave a comment.

Didn't find what you're looking for?

New post