최근 검색


최근 검색 없음

fahev dalebig's Avatar

fahev dalebig

가입한 날짜: 2023년 9월 04일

·

마지막 활동: 2024년 3월 01일

팔로잉

0

팔로워

0

총 활동 수

13

투표 수

3

플랜 수

2

활동 개요

님의 최근 활동 fahev dalebig

fahev dalebig님이 에 댓글을 입력함

커뮤니티 댓글 Q&A - Apps and integrations

Hi Team, 

Is there any update?

댓글 보기 · 2024년 3월 01일에 게시됨 · fahev dalebig

0

팔로워

1

투표

0

댓글


fahev dalebig님이 에 게시물을 만듦

게시물 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.

2024년 2월 27일에 게시됨 · fahev dalebig

1

팔로워

2

투표 수

2

댓글


fahev dalebig님이 에 댓글을 입력함

커뮤니티 댓글 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.

댓글 보기 · 2023년 10월 25일에 게시됨 · fahev dalebig

0

팔로워

0

투표 수

0

댓글


fahev dalebig님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk SDKs

Hi Zendesk Team, 

Is there any update on this matter?

댓글 보기 · 2023년 10월 24일에 게시됨 · fahev dalebig

0

팔로워

0

투표 수

0

댓글


fahev dalebig님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk SDKs

Hi Zendesk Team

 

Is there any update on this?

댓글 보기 · 2023년 10월 20일에 게시됨 · fahev dalebig

0

팔로워

0

투표 수

0

댓글


fahev dalebig님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk SDKs

Hi Greg Katechis,

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

댓글 보기 · 2023년 10월 04일에 게시됨 · fahev dalebig

0

팔로워

0

투표 수

0

댓글


fahev dalebig님이 에 댓글을 입력함

커뮤니티 댓글 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

댓글 보기 · 2023년 10월 03일에 편집됨 · fahev dalebig

0

팔로워

0

투표 수

0

댓글


fahev dalebig님이 에 게시물을 만듦

게시물 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.

2023년 9월 04일에 게시됨 · fahev dalebig

1

팔로워

8

투표 수

12

댓글