Hi all,
In order to properly redact attachments after a few weeks of having a ticket closed, we use the api/v2/comment_redactions/:comment_id endpoint.
This works fine for all attachments, untill the attachment has a space in the filename.
The only way to redact attachments on closed tickets seems to be this endpoint, using the `external_attachment_urls` parameter (See https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/#redact-ticket-comment-in-agent-workspace)
Does anyone have this working with filenames with spaces, or is it a bug on the Zendesk API?
Example request:
PUT https://****.zendesk.com/api/v2/comment_redactions/8485325541917
JSON payload:
{"ticket_id": 237553, "external_attachment_urls":["https://*****.zendesk.com/attachments/token/Qqa********d7sVk/?name=Template+invoice.pdf"]}
Things i already tried:
- Replace the + sign with a %20
- Replace the + sign with an actual space
Thanks in advance!
I've been looking through our logs on this and I'm seeing that the most recent requests have been actioned successfully. Can you let me know if you're still running in to this issue?