Búsquedas recientes


No hay búsquedas recientes

fahev dalebig's Avatar

fahev dalebig

Incorporación 04 sept 2023

·

Última actividad 01 mar 2024

Seguimientos

0

Seguidores

0

Actividad total

13

Votos

3

Suscripciones

2

RESUMEN DE LA ACTIVIDAD

Última actividad de fahev dalebig

fahev dalebig hizo un comentario,

Comentario de la comunidad Q&A - Apps and integrations

Hi Team, 

Is there any update?

Ver comentario · Publicado 01 mar 2024 · fahev dalebig

0

Seguidores

1

Voto

0

Comentarios


fahev dalebig creó una publicación,

Publicación 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.

Publicado 27 feb 2024 · fahev dalebig

1

Seguidor

2

Votos

2

Comentarios


fahev dalebig hizo un comentario,

Comentario de la comunidad 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.

Ver comentario · Publicado 25 oct 2023 · fahev dalebig

0

Seguidores

0

Votos

0

Comentarios


fahev dalebig hizo un comentario,

Comentario de la comunidad Developer - Zendesk SDKs

Hi Zendesk Team, 

Is there any update on this matter?

Ver comentario · Publicado 24 oct 2023 · fahev dalebig

0

Seguidores

0

Votos

0

Comentarios


fahev dalebig hizo un comentario,

Comentario de la comunidad Developer - Zendesk SDKs

Hi Zendesk Team

 

Is there any update on this?

Ver comentario · Publicado 20 oct 2023 · fahev dalebig

0

Seguidores

0

Votos

0

Comentarios


fahev dalebig hizo un comentario,

Comentario de la comunidad Developer - Zendesk SDKs

Hi Greg Katechis,

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

Ver comentario · Publicado 04 oct 2023 · fahev dalebig

0

Seguidores

0

Votos

0

Comentarios


fahev dalebig hizo un comentario,

Comentario de la comunidad 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

Ver comentario · Editado 03 oct 2023 · fahev dalebig

0

Seguidores

0

Votos

0

Comentarios


fahev dalebig creó una publicación,

Publicación 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.

Publicado 04 sept 2023 · fahev dalebig

1

Seguidor

8

Votos

12

Comentarios