I’m sorry to hear you’re having trouble uploading images to Zendesk. Based on the code you provided, it seems like the issue might be related to the encoding of the image file. To help you with this, I’ll provide a Pipedream component that uploads an image to Zendesk using their API:
This component accepts a base64 encoded image as input and uploads it to Zendesk using their API. Make sure to replace imageBuffer with your base64 encoded image data.
Please give this a try and let me know if it resolves your issue. If you still face any problems, feel free to reach out for further assistance.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.