Recherches récentes


Pas de recherche récente

fahev dalebig's Avatar

fahev dalebig

Adhésion le 04 sept. 2023

·

Dernière activité le 01 mars 2024

Suivis

0

Abonnés

0

Activité totale

13

Votes

3

Abonnements

2

APERÇU DES ACTIVITÉS

Dernière activité effectuée par fahev dalebig

fahev dalebig a ajouté un commentaire,

Commentaire de la communauté Q&A - Apps and integrations

Hi Team, 

Is there any update?

Afficher le commentaire · Publication le 01 mars 2024 · fahev dalebig

0

Abonnés

1

vote

0

Commentaire


fahev dalebig a créé une publication,

Publication Q&A - Apps and integrations

Attachment Redacted from Comment event link: https://developer.zendesk.com/api-reference/integration-services/trigger-events/ticket-events/#attachment-redacted-from-comment

When clicking the Redact button, I need to restrict the agent.



code:

 client.on('ticket.AttachmentRedactedFromComment', () => {
          console.log('it was triggered ------------------ attachment redacted from comment' );
          const errorMessage = `Ticket not saved!`
          return true? errorMessage: true;
        });

This is the code I am using to restrict the agent from deleting (redacting) the attachment. The event is not working (ticket.AttachmentRedactedFromComment). 

Thanks in advance.

Publication le 27 févr. 2024 · fahev dalebig

1

Abonné

2

Votes

2

Commentaires


fahev dalebig a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

 

Is there any update or progress on the issue we've raised? We greatly value your assistance and insights in helping us resolve this matter.

Your prompt response and guidance would be greatly appreciated.

Thank you for your attention.

Afficher le commentaire · Publication le 25 oct. 2023 · fahev dalebig

0

Abonnés

0

Votes

0

Commentaire


fahev dalebig a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Hi Zendesk Team, 

Is there any update on this matter?

Afficher le commentaire · Publication le 24 oct. 2023 · fahev dalebig

0

Abonnés

0

Votes

0

Commentaire


fahev dalebig a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Hi Zendesk Team

 

Is there any update on this?

Afficher le commentaire · Publication le 20 oct. 2023 · fahev dalebig

0

Abonnés

0

Votes

0

Commentaire


fahev dalebig a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Hi Greg Katechis,

is there any update on this, how we can proceed?

Afficher le commentaire · Publication le 04 oct. 2023 · fahev dalebig

0

Abonnés

0

Votes

0

Commentaire


fahev dalebig a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk SDKs

Hi Greg Katechis,

Proxy error: {:code=>"UnprocessableEntity", :status=>"422", :title=>"Unprocessable Entity", :message=>"Failed to get installation and oauth information for app."}

is being encountered when attempting to use the provided code. It appears that FormData needs to be passed in the body of a POST request, but the documentation does not provide guidance on how to do so.

How should I proceed to resolve this issue?



let data = new FormData();
    data.append("username", username);
    data.append("key", key);
    data.append("email", email);

    let config = {
      method: "post",
      maxBodyLength: Infinity,
      url: `${shopURL}/index.php?route=zendesk/customer`,
      headers: {
        "Content-Type": "application/x-www-form-urlencoded",
      },
      crossOriginIsolated: true,
      data: JSON.stringify(data),
      secure: true,
  };

    return client.request(config);

 

When I passed the build for review process marketplace team rejected it because of security issues, I am using Axios inside the Zendesk SDK, I could not figure it out where is the mistake.

 

this is my manifest parameters

Afficher le commentaire · Modification le 03 oct. 2023 · fahev dalebig

0

Abonnés

0

Votes

0

Commentaire


fahev dalebig a créé une publication,

Publication Developer - Zendesk SDKs

I making an API calls inside the SDK application with the Axios POST method and Formdata, you can in the below code.

const axios = require('axios');
const FormData = require('form-data');
let data = new FormData();
data.append('username', 'balu');
data.append('key', jhjjjjhjjjhh');
data.append('email', 'anish.k@spritle.com');

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://opencart.ajithr.com/index.php?route=zendesk/customer',
  headers: { 
    'Content-Type': 'application/json', 
    'Cookie': 'OCSESSID=0c4898f4cd2a443a21c3fb3324; currency=USD', 
    ...data.getHeaders()
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

How can I change this Axios method into a client method? 

I documentation also can't able to find it.

Thanks in advance.

Publication le 04 sept. 2023 · fahev dalebig

1

Abonné

8

Votes

12

Commentaires