最近搜索


没有最近搜索

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

评论