Recent searches


No recent searches

422 unprocessable entity when uploading a file via zendesk api



Posted Dec 27, 2023

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 comments

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


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


Sign in to leave a comment.

Didn't find what you're looking for?

New post