최근 검색


최근 검색 없음

yeasir arafat's Avatar

yeasir arafat

가입한 날짜: 2021년 10월 16일

·

마지막 활동: 2021년 10월 16일

팔로잉

0

팔로워

0

총 활동 수

6

투표

1

가입 플랜

1

활동 개요

님의 최근 활동 yeasir arafat

yeasir arafat님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi Nathania,

Yes I had this issue resolved. What is the response that you are receiving from the sandbox instance?

The sandbox instance is a different entity to the production instance. So the settings/data from production is not copied over to the sandbox instance, as I understood. Please make sure access using api key in sandbox is enabled.

In my case the issue was I was trying to create a zendesk ticket on behalf of one of our application customers but the sandbox instance could not find that person(i.e.; requester_id). Later we found out that it was happening because the id/person on behalf of whom I was trying to create the ticket  exists in our production(which was connected to zendesk prod) and I assumed it exists in zendesk sandbox instance as well. But as I mentioned above, that is not the case.

If this does not help, submit a support request with the request and response details and someone should help you out. I received prompt support.

댓글 보기 · 2021년 10월 14일에 게시됨 · yeasir arafat

0

팔로워

0

투표 수

0

댓글


yeasir arafat님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hello Eric,

Absolutely. Please let me know if you need any further details from my end.

Thankfully,
Yeasir

댓글 보기 · 2021년 8월 10일에 게시됨 · yeasir arafat

0

팔로워

0

투표 수

0

댓글


yeasir arafat님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi Eric,

Thank you very much for responding. I almost lost hope that I would get a solution. Have had to resort to opening temporary accounts with trial period to test my changes.

Yes, token access is enabled for the sandbox instance. Here is the latest status: I am getting a 422 error if i use the sandbox subdomain and authentication details. However, if i use my other account's(the temporay ones that i have opened) subdomain and api token, i can successfully create ticket or create users in zendesk. Here is the response that I am getting:

Client error: `POST https://DUMMYDOMAIN.zendesk.com/api/v2/tickets.json` resulted in a `422 Unprocessable Entity` response: {"error":"RecordInvalid","description":"Record validation errors","details":{"submitter":[{"description":"Submitter is i (truncated...) [details] {"error":"RecordInvalid","description":"Record validation errors","details":{"submitter":[{"description":"Submitter is invalid","error":"InvalidValue"}],"base":[{"description":"Author is invalid"}],"requester":[{"description":"Requester: is invalid","error":"InvalidValue"}]}}

Can you please guide me to the right direction to resolve the issue?

Thanks,
Yeasir

댓글 보기 · 2021년 8월 10일에 게시됨 · yeasir arafat

0

팔로워

0

투표 수

0

댓글


yeasir arafat님이 에 게시물을 만듦

게시물 Developer - Zendesk APIs

I have created a sandbox in our company's zendesk account. I am not the admin but the account that I used to create the sandbox has admin priviliges. I created API key in that sandbox. Then i tried curl command to hit the query api (api/v2/requests/search.json?query=) on the sandbox instance(obviously using the sandbox subdomain) but I am getting error "Could not authenticate you". If i hit the production instance with a production instance api, it works, which means my curl command syntax is correct.

What am i doing wrong? Can the sandbox instance be accessed via the api?

 

2021년 8월 06일에 게시됨 · yeasir arafat

0

팔로워

3

투표 수

7

댓글