422 unprocessable entity when uploading a file via zendesk api
已于 2023年12月27日 发布
hi all. i am encountering the error in the subject when trying to do an "uploads?filename=<filename>" api call. i need to create a ticket via api with a file attachment to it. please let me know if any data is required to assist me with this error mesage.
0
2
2 条评论
Greg Katechis
Hi Julius! Without additional context or specific API calls, it's impossible to say what might be causing the 422. However, we do have a very clear article that explains how to successfully add images to a ticket via the ticket comments API, so I would recommend reading through that and make sure that you're doing everything correctly. If you still experience issues after going through that article, I would recommend reaching out to our Advocacy team so that they can check the logs in your specific instance to see what is causing the problem.
0
Julius Benedict Cuanan
update:
i am able to successfully upload a plaintext file but for some reason pdf, png, jpeg, and other else are all throwing an error - 422 unprocessable entity.
0
登录再写评论。