Skip to content

Attachments to ticket #541

Closed Answered by PierreBtz
fabianpena90 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure you are in the correct forum for your question since it's seems related to the Zendesk API, not the java client. I don't know Kotlin so I cannot give you an expert answer, but here are a few notes:

  • I would suggest first digging into the content type of your request. IIUC, you are passing multipart/form-data, while in the documentation of the Zendesk API (https://developer.zendesk.com/api-reference/ticketing/tickets/ticket-attachments/) they are passing application/x-www-form-urlencoded.
  • If it doesn't work, then use the curl request of the Zendesk documentation as a reference, activate the logs of whatever http client you are using and compare the request headers with the one…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PierreBtz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants