Ionic web error when get token and cannot access contact

i cannot access my contact firebase when i try to access

It show unauthorized user and i try to trace the code , i realized that get error when the code try to get firebase token

An error occurred while retrieving token. FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope (‘http://localhost:8100/firebase-cloud-messaging-push-scope’) with script (‘http://localhost:8100/firebase-messaging-sw.js’): A bad HTTP response code (404) was received when fetching the script. (messaging/failed-service-worker-registration).
at WindowController. (http://localhost:8100/build/vendor.js:187529:45)
at step (http://localhost:8100/build/vendor.js:29730:23)
at Object.throw (http://localhost:8100/build/vendor.js:29711:53)
at rejected (http://localhost:8100/build/vendor.js:29702:65)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
at Object.onInvoke (http://localhost:8100/build/vendor.js:17805:33)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14916)
at (http://localhost:8100/build/polyfills.js:3:10143)
at http://localhost:8100/build/polyfills.js:3:20242
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)

i have change my environment.ts

export const environment = {
supportMode: false,
DASHBOARD_URL: ‘http://localhost:4200/’,
SERVER_BASE_URL: ‘http://localhost:3000/’,
production: false,
remoteConfig: false,
remoteConfigUrl: ‘./chat-config.json’,
remoteContactsUrl: ‘’,
firebaseConfig: {
apiKey: ‘xxxx’,
authDomain: ‘’,
databaseURL: ‘’,
projectId: ‘xxxx-app’,
storageBucket: ‘’,
messagingSenderId: ‘6087xxxxx’,
appId: ‘xxx’,
chat21ApiUrl: ‘

Can you give me where can i get value for FIREBASESTORAGE_BASE_URL_IMAGE and CHAT_SEND_BY_EMAIL_LINK, and those 2 value effect when i access the contact value from firebase ???

can you give me step by step how to do it ?

  1. create cloud function
  2. create tiledesk server
  3. create tiledesk dashboard ( i cannot build project on dashboard )
  4. ionic web (i got this error )

is there any issue because i still run on my localhost ???

can you tell me contact on ionic chat is contact on tiledesk dashboard or the user that i have create on firebase console ??

can i run ionic web without dashboard tiledesk ??



Try install Tiledesk using Docker Running Tiledesk with Docker Compose - Tiledesk Docs

Hi @sujackson . Have u done installing tiledesk on the local machine?