Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating notely event #125

Closed
sabatale opened this issue Aug 28, 2020 · 3 comments
Closed

Error when creating notely event #125

sabatale opened this issue Aug 28, 2020 · 3 comments

Comments

@sabatale
Copy link

sabatale commented Aug 28, 2020

When testing the notely app as-is, I get the following error at save (click "Record Activity"):

<!DOCTYPE html>
<html lang="en">

<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <title>The page you were looking for doesn't exist (404)</title>
  <link href="https://static.zdassets.com/classic/external/error_pages.css" media="all" rel="stylesheet" type="text/css" />
  <meta name="viewport" content="width=device-width">
</head>

<body>
  <!-- This file lives in public/404.html -->
  <article class="l-max-readable-width l-centered">

    <h1 class="err__page-heading">
      This page doesn't exist.
    </h1>

    <div class="err__container l-padded-bottom">
      <p>
        You may have mistyped the address or the page may have moved.
      </p>
      <p>
        <a href="/">Go back to the home page</a>
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="pt-br" class="err__additional-translation">
        Você pode ter digitado o endereço errado ou a página pode ter sido movida.
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="es-419" class="err__additional-translation">
        Podría haberse equivocado al escribir la dirección o la página podría haber sido movida.
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="de" class="err__additional-translation">
        Sie haben die Adresse u. U. falsch eingegeben oder die Seite wurde verschoben.
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="fr" class="err__additional-translation">
        Il est possible que vous ayez mal saisi l’adresse ou que la page ait été déplacée.
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="nl" class="err__additional-translation">
        Mogelijk hebt u het adres niet goed getypt of is de pagina verplaatst.
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="ru" class="err__additional-translation">
        Возможно, вы ошиблись в адресе или страница была перемещена.
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="ja" class="err__additional-translation">
        入力したアドレスが正しくないか、ページが移動した可能性があります 。
      </p>
    </div>

    <div class="l-v-padded">
      <p lang="it" class="err__additional-translation">
        Forse hai digitato l’indirizzo sbagliato oppure la pagina è stata spostata.
      </p>
    </div>
  </article>
</body>
</html>

Any idea where it hurts? Has the API changed?

https://*.zendesk.com/api/cdp/track

ticket-sidebar.html line 73:

            client.request(settings).then(
              function(data) {
                note.value = '';
              },
              function(response) {
                console.error(response);
              }
            );
@schiguoi
Copy link

@sabatale The sunshine APIs have changed quite a bit. The updated docs for the Events API are located here: https://developer.zendesk.com/rest_api/docs/sunshine/events_api#content

@sabatale
Copy link
Author

@schiguoi Thanks for confirming that. Would you have any recommendation on which sample app to start with? I'm basically looking for a starting point to explore the SDK.

@schiguoi
Copy link

@sabatale I haven't worked with Zendesk's SDK directly (assuming you mean the SDK as it pertains to the Embeddables docs). I've found the resource made available at https://github.com/bryan-flynn-zd/examples/ to be really useful for Zendesk App Framework development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants