Issue with Sending Images via API - WooCommerce @ error/jpeg.c/JPEGErrorHandler/356

I am uploading images for a product using the Make.com platform, and the process executes successfully. However, when I check the image in WooCommerce, it appears corrupted. I am unable to view it, and if I try to download the file, it cannot be opened.

When I attempt to regenerate the thumbnails, I receive the following error message:
“Not a JPEG file: starts with 0x3c 0x21 …Foto-07-02-25-4-08-56-pm.jpg’ @ error/jpeg.c/JPEGErrorHandler/356”.

Could you please advise on a solution to ensure the file is sent correctly as a JPEG image? I’ve tried several methods, but the issue persists.

Welcome to the Make community!

To allow others to assist you with your scenario, please provide the following:

Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and relevant filter settings. It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

By providing these details, it will allow others to assist you better.