Error [400] [131053] (#131053) Media upload error Image is invalid. Please check the image properties; supported are JPG/JPEG, RGB/RGBA, 8 bit/channels and PNG, RGB/RGBA, up to 8 bit/channel

Difficulty uploading media to WhatsApp Business Cloud to send a template message - RuntimeError

[400] [131053] (#131053) Media upload error Image is invalid. Please check the image properties; supported are JPG/JPEG, RGB/RGBA, 8 bit/channels and PNG, RGB/RGBA, up to 8 bit/channel.

I’ve been trying to upload jpg and png but constant error. Please help!

Welcome to the Make community!

You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).

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

1. Relevant Screenshots

Could you please share screenshots of your full scenario? Also include screenshots of any error messages, module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see what you’re working with to give you the best advice.

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

2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

You can upload the file here by clicking on this button:

3. Output Bundles of Modules

Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.

You can upload the file here by clicking on this button:

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, especially if there are complex data structures (nested arrays and collections) or if external services are involved.

Sharing these details will make it easier for others to assist you.

Here is the output bundle and relevant screenshots.


Welcome to the Make community!

You’ll have to first upload the image to a service that provides you with a direct link to the image.

Examples of such services include Imgur, Flickr, and Cloudinary.

You can also use Amazon S3, Google Cloud Storage, etc. You can find more file hosting integrations here: https://www.make.com/en/integrations/category/storage.

Then,

Use the HTTP “Get a File” module with the file URL that you need to download into your scenario. This assumes that the URL is public and doesn’t require login.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Hey thanks for your help. How do I then send the image using WhatsApp? The output file is a html.

That’s not a direct link to the image, it looks like a link to an Imgur album page.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

How do I get a direct link to the image?
I copied both copy link and grab a link but still output is html.


Usually you’ll want to add the extension of the file to the URL, e.g.: https://imgur.com/HkbnaPX.jpg so you can view it on a web page like this: jsfiddle.net/qkwg3j8o

Change the image link in the above HTML editor, if you can view the image, Make can download the image using that link.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

3 Likes