Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Erro 400 compose/key #54

@bierTI-dev

Description

@bierTI-dev

I got a 400 error on the get method on the URL https://ekr.zdassets.com/compose/key

My main.js:

import Zendesk from '@dansmaculotte/vue-zendesk'

Vue.use(Zendesk, {
  key: 'my key',
  disabled: true,
  hideOnLoad: true,
  settings: {
    webWidget: {
      color: {
        theme: '#78a300'
      }
    }
  }
});

My component:

<template>
  xxx
</template>

<script>
export default {
  name: "faq",
  mounted() {
    this.$zendesk.load('key');
  },
  methods: {
    showCustmerService() {
      this.$zendesk('webWidget', 'show');
      this.$zendesk('webWidget', 'open');
      this.$zendesk('webWidget:on', 'close', () => {
        this.$zendesk('webWidget', 'hide');
      });
    },
  },
};
</script>

In the network:
Request URL: https://ekr.zdassets.com/compose/key
Request Method: GET
Status Code: 400

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions