Issue with "Replace an Image" in Google Docs Module – Invalid URL despite working

Hey Make Community :waving_hand:

I’m encountering a frustrating issue when using the Google Docs → Replace an Image with a New Image module.

Here’s what’s happening:

  • I generate an image dynamically using the Cloudinary → Transform a Resource module.
  • The transformation works perfectly and outputs a valid URL (e.g., https://res.cloudinary.com/.../wave.png).
  • When I manually copy/paste this URL into the “Replace an Image” module (using Run this module only), everything works fine: the image is replaced correctly in my Google Doc.
  • But when I try to run the entire scenario, I get the following error:

arduino

[400] Invalid requests[0].replaceImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats.

I’ve already checked the usual suspects:

  • :white_check_mark: The Cloudinary image is publicly accessible.
  • :white_check_mark: The format is .png, under 2MB.
  • :white_check_mark: The URL is HTTPS and opens in incognito mode.
  • :white_check_mark: No breaks, special characters, or space encoding issues.

Still, I get a “Validation failed for parameter ‘kix.xxxxx’” when running the whole workflow.

blueprint (9).json (27.6 KB)

1 Like

If it’s from Google Drive, you have to go to your Google drive settings and make sure the image is publicly accessible. I.e : “Anyone with the link” + Viewer

1 Like

Hello @Nael_SID_ALI , have you been able to solve the issue?