Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

fahev dalebig's Avatar

fahev dalebig

Beigetreten 04. Sept. 2023

·

Letzte Aktivität 01. März 2024

Folge ich

0

Follower

0

Gesamtaktivitäten

13

Stimmen

3

Abonnements

2

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von fahev dalebig

fahev dalebig hat einen Kommentar hinterlassen

Community-Kommentar Q&A - Apps and integrations

Hi Team, 

Is there any update?

Kommentar anzeigen · Gepostet 01. März 2024 · fahev dalebig

0

Follower

1

Stimme

0

Kommentare


fahev dalebig hat einen Post erstellt

Post 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.

Gepostet 27. Feb. 2024 · fahev dalebig

1

Follower

2

Stimmen

2

Kommentare


fahev dalebig hat einen Kommentar hinterlassen

Community-Kommentar 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.

Kommentar anzeigen · Gepostet 25. Okt. 2023 · fahev dalebig

0

Follower

0

Stimmen

0

Kommentare


fahev dalebig hat einen Kommentar hinterlassen

Community-Kommentar Developer - Zendesk SDKs

Hi Zendesk Team, 

Is there any update on this matter?

Kommentar anzeigen · Gepostet 24. Okt. 2023 · fahev dalebig

0

Follower

0

Stimmen

0

Kommentare


fahev dalebig hat einen Kommentar hinterlassen

Community-Kommentar Developer - Zendesk SDKs

Hi Zendesk Team

 

Is there any update on this?

Kommentar anzeigen · Gepostet 20. Okt. 2023 · fahev dalebig

0

Follower

0

Stimmen

0

Kommentare


fahev dalebig hat einen Kommentar hinterlassen

Community-Kommentar Developer - Zendesk SDKs

Hi Greg Katechis,

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

Kommentar anzeigen · Gepostet 04. Okt. 2023 · fahev dalebig

0

Follower

0

Stimmen

0

Kommentare


fahev dalebig hat einen Kommentar hinterlassen

Community-Kommentar 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

Kommentar anzeigen · Bearbeitet 03. Okt. 2023 · fahev dalebig

0

Follower

0

Stimmen

0

Kommentare


fahev dalebig hat einen Post erstellt

Post 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.

Gepostet 04. Sept. 2023 · fahev dalebig

1

Follower

8

Stimmen

12

Kommentare