Reddit posting image doesn't work HELP

I am looking to do the following

When a new image file is added to the google drive folder → Post it as an image to a subreddit.

I am getting the following error: [[“BAD_IMAGE”,“Invalid image URL.”,“URL”]]

Blueprint:
blueprint.json (7.3 KB)

[
    {
        "kind": "drive#file",
        "fileExtension": "jpg",
        "copyRequiresWriterPermission": false,
        "md5Checksum": "6d516b5ab121d74f911b464e5715af15",
        "writersCanShare": true,
        "viewedByMe": true,
        "mimeType": "image/jpeg",
        "parents": [
            "1HiM_EOfD19h_Br4Z6nbpUnw3H5eZ6sKL"
        ],
        "thumbnailLink": "https://lh3.googleusercontent.com/drive-storage/AJQWtBNgwU9zOTgDDE6-B9kAec340g1f6Fs5t6FrA-A5JVhw5XO0z3aU9JYgPOJ5PRTzyLRKZMCeTYu3evZp1asEsXVIKB9CLMp-elnc6SJTO_NoBqQ=s220",
        "iconLink": "https://drive-thirdparty.googleusercontent.com/16/type/image/jpeg",
        "shared": true,
        "lastModifyingUser": {
            "displayName": "Name",
            "kind": "drive#user",
            "me": true,
            "permissionId": "08263880871707012750",
            "emailAddress": "my email",
            "photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjULaAuhqTt3e0jrXOso830RWkQ9F42cboM6pUcmdoJo9ff5htSQlTsKWT8RzvkfQI7nUP53MQDRgvZObhpLbURcjThXyCWs_7UA9gbxlZvUQGk2f0OlcQhyurX6I5hcZP8UDgnKykxAtFa6fSOJKavr2mcGMldshbV7gpxXQrmt7Q2TTsRdlrNzjlQWsufHmcxSQ9vMzPdEl7CIeFmiFT5wqUSGi_GHC3V7_rFzHMTnqY7HqWE-t_VzyqD6x67P_lbN7DsMb1xXMIgQKP4yEfdtAVXV_wbQonfKLr9lCuYYzgVgUASJmyIDA7N6PUUeZtN6T3L1cBQa1fysgBNIL7fH2_xd8QDxYAv80JoH1cNFFhlHDPJjToCATSadBlxYKJBZn9ZenDO4HEQykbFjjszvRSrsqGNdSlblhjEYYVINqWyYTN3_Ji7zj6nHz6kqVLSOscpCGveLb_wxwqdVmEfvHmC2YmX71LJNBVTLZZ-VWKlLb185oUEgA1nuAnUiFsQw6t3UHufizOM7OXwxIomwDm74MSFMpOZG4YSX3cgyIL_Y0jFXeFgzZlxGrx53L66OO5868EpL78XRg3z4RRw7wGKY4Ye1gBtaXWOnmAdFg9XRakfjo6ZQD9WoqJSSYQXmPfymwYV-M-6RDRuUL6fbD6nRZfM_kbyHH4YGRVYXewNbN1pEzsSALxYp622SP-R2iNBOslb7IiooHGl3czkvsqF-WSwkjCTs0Sj_5lfK1o6R063OFvEApIq958QlfSvgnevqQ2XFxsbFy5AsY1MlScez0Xh1mOzHQRRcNQLuoR2q4SyUef-A4ante3xL5hcDKPAWYIor4oiyyY35_0JMfwdufxT-_aQE2OASoFXnJFLvE8-5wATpcE30TXQsBT41I6dorkMi_jH5wGFlvE2dJDLmqolQWslFAH11iInFyF81ZPygkW_av3SFtkPQXvDNkc7DKqL-G2eaVzv7DiuvvuY=s64"
        },
        "owners": [
            {
                "displayName": "Name",
                "kind": "drive#user",
                "me": true,
                "permissionId": "08263880871707012750",
                "emailAddress": "Email",
                "photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjULaAuhqTt3e0jrXOso830RWkQ9F42cboM6pUcmdoJo9ff5htSQlTsKWT8RzvkfQI7nUP53MQDRgvZObhpLbURcjThXyCWs_7UA9gbxlZvUQGk2f0OlcQhyurX6I5hcZP8UDgnKykxAtFa6fSOJKavr2mcGMldshbV7gpxXQrmt7Q2TTsRdlrNzjlQWsufHmcxSQ9vMzPdEl7CIeFmiFT5wqUSGi_GHC3V7_rFzHMTnqY7HqWE-t_VzyqD6x67P_lbN7DsMb1xXMIgQKP4yEfdtAVXV_wbQonfKLr9lCuYYzgVgUASJmyIDA7N6PUUeZtN6T3L1cBQa1fysgBNIL7fH2_xd8QDxYAv80JoH1cNFFhlHDPJjToCATSadBlxYKJBZn9ZenDO4HEQykbFjjszvRSrsqGNdSlblhjEYYVINqWyYTN3_Ji7zj6nHz6kqVLSOscpCGveLb_wxwqdVmEfvHmC2YmX71LJNBVTLZZ-VWKlLb185oUEgA1nuAnUiFsQw6t3UHufizOM7OXwxIomwDm74MSFMpOZG4YSX3cgyIL_Y0jFXeFgzZlxGrx53L66OO5868EpL78XRg3z4RRw7wGKY4Ye1gBtaXWOnmAdFg9XRakfjo6ZQD9WoqJSSYQXmPfymwYV-M-6RDRuUL6fbD6nRZfM_kbyHH4YGRVYXewNbN1pEzsSALxYp622SP-R2iNBOslb7IiooHGl3czkvsqF-WSwkjCTs0Sj_5lfK1o6R063OFvEApIq958QlfSvgnevqQ2XFxsbFy5AsY1MlScez0Xh1mOzHQRRcNQLuoR2q4SyUef-A4ante3xL5hcDKPAWYIor4oiyyY35_0JMfwdufxT-_aQE2OASoFXnJFLvE8-5wATpcE30TXQsBT41I6dorkMi_jH5wGFlvE2dJDLmqolQWslFAH11iInFyF81ZPygkW_av3SFtkPQXvDNkc7DKqL-G2eaVzv7DiuvvuY=s64"
            }
        ],
        "headRevisionId": "0B7FYn0zZWhJUQkZyS1JUbjFqclhHZWl4V3B5NmVTa3RzSzN3PQ",
        "webViewLink": "https://drive.google.com/file/d/1GNQzzVm8qSOWIUz7gRVL8MgEkygemDUn/view?usp=drivesdk",
        "webContentLink": "https://drive.google.com/uc?id=1GNQzzVm8qSOWIUz7gRVL8MgEkygemDUn&export=download",
        "size": "221913",
        "viewersCanCopyContent": true,
        "permissions": [
            {
                "id": "anyoneWithLink",
                "type": "anyone",
                "kind": "drive#permission",
                "role": "writer",
                "allowFileDiscovery": false
            },
            {
                "id": "08263880871707012750",
                "displayName": "Name",
                "type": "user",
                "kind": "drive#permission",
                "photoLink": "https://lh3.googleusercontent.com/a-/ALV-UjULaAuhqTt3e0jrXOso830RWkQ9F42cboM6pUcmdoJo9ff5htSQlTsKWT8RzvkfQI7nUP53MQDRgvZObhpLbURcjThXyCWs_7UA9gbxlZvUQGk2f0OlcQhyurX6I5hcZP8UDgnKykxAtFa6fSOJKavr2mcGMldshbV7gpxXQrmt7Q2TTsRdlrNzjlQWsufHmcxSQ9vMzPdEl7CIeFmiFT5wqUSGi_GHC3V7_rFzHMTnqY7HqWE-t_VzyqD6x67P_lbN7DsMb1xXMIgQKP4yEfdtAVXV_wbQonfKLr9lCuYYzgVgUASJmyIDA7N6PUUeZtN6T3L1cBQa1fysgBNIL7fH2_xd8QDxYAv80JoH1cNFFhlHDPJjToCATSadBlxYKJBZn9ZenDO4HEQykbFjjszvRSrsqGNdSlblhjEYYVINqWyYTN3_Ji7zj6nHz6kqVLSOscpCGveLb_wxwqdVmEfvHmC2YmX71LJNBVTLZZ-VWKlLb185oUEgA1nuAnUiFsQw6t3UHufizOM7OXwxIomwDm74MSFMpOZG4YSX3cgyIL_Y0jFXeFgzZlxGrx53L66OO5868EpL78XRg3z4RRw7wGKY4Ye1gBtaXWOnmAdFg9XRakfjo6ZQD9WoqJSSYQXmPfymwYV-M-6RDRuUL6fbD6nRZfM_kbyHH4YGRVYXewNbN1pEzsSALxYp622SP-R2iNBOslb7IiooHGl3czkvsqF-WSwkjCTs0Sj_5lfK1o6R063OFvEApIq958QlfSvgnevqQ2XFxsbFy5AsY1MlScez0Xh1mOzHQRRcNQLuoR2q4SyUef-A4ante3xL5hcDKPAWYIor4oiyyY35_0JMfwdufxT-_aQE2OASoFXnJFLvE8-5wATpcE30TXQsBT41I6dorkMi_jH5wGFlvE2dJDLmqolQWslFAH11iInFyF81ZPygkW_av3SFtkPQXvDNkc7DKqL-G2eaVzv7DiuvvuY=s64",
                "emailAddress": "Email",
                "role": "owner",
                "deleted": false,
                "pendingOwner": false
            }
        ],
        "hasThumbnail": true,
        "spaces": [
            "drive"
        ],
        "id": "1GNQzzVm8qSOWIUz7gRVL8MgEkygemDUn",
        "name": "6617b6c026d14c715344f0db.jpg",
        "starred": false,
        "trashed": false,
        "explicitlyTrashed": false,
        "createdTime": "2024-04-15T06:38:53.094Z",
        "modifiedTime": "2024-04-15T06:44:48.822Z",
        "modifiedByMeTime": "2024-04-15T06:44:48.822Z",
        "viewedByMeTime": "2024-04-15T09:23:49.811Z",
        "quotaBytesUsed": "221913",
        "version": "9",
        "originalFilename": "6617b6c026d14c715344f0db.jpg",
        "ownedByMe": true,
        "fullFileExtension": "jpg",
        "isAppAuthorized": false,
        "capabilities": {
            "canChangeViewersCanCopyContent": true,
            "canEdit": true,
            "canCopy": true,
            "canComment": true,
            "canAddChildren": false,
            "canDelete": true,
            "canDownload": true,
            "canListChildren": false,
            "canRemoveChildren": false,
            "canRename": true,
            "canTrash": true,
            "canReadRevisions": true,
            "canChangeCopyRequiresWriterPermission": true,
            "canMoveItemIntoTeamDrive": true,
            "canUntrash": true,
            "canModifyContent": true,
            "canMoveItemOutOfDrive": true,
            "canAddMyDriveParent": false,
            "canRemoveMyDriveParent": true,
            "canMoveItemWithinDrive": true,
            "canShare": true,
            "canMoveChildrenWithinDrive": false,
            "canModifyContentRestriction": true,
            "canChangeSecurityUpdateEnabled": false,
            "canAcceptOwnership": false,
            "canReadLabels": false,
            "canModifyLabels": false,
            "canModifyEditorContentRestriction": true,
            "canModifyOwnerContentRestriction": true,
            "canRemoveContentRestriction": false
        },
        "thumbnailVersion": "1",
        "modifiedByMe": true,
        "permissionIds": [
            "anyoneWithLink",
            "08263880871707012750"
        ],
        "imageMediaMetadata": {
            "width": 640,
            "height": 640,
            "rotation": 0
        },
        "linkShareMetadata": {
            "securityUpdateEligible": false,
            "securityUpdateEnabled": true
        },
        "sha1Checksum": "6034bc44f664fc51a90d2eda2f66c3f035cdc44b",
        "sha256Checksum": "f136b5d5eee491d9e4f4445f26b7bd35ddea9353bbe6c7e814ffb75cd7ecbeec"
    }
]

and

Output bundle

[
    null
]

Help!

You’ll need to use the “Get a Share Link” module for Anyone and Reader permissions on the file.

Then use the Web Content Link.

3 Likes

Thanks for the quick response.

I got this far

But at the final stage it gave me the error: [[“BAD_IMAGE”,“Invalid image URL.”,“URL”]]
@samliew any ideas?

Does anybody know this in the Make community?

Anyone with an answer here, I get the exact same error, my image is hosted in AWS S3. The image is public and I can see it with the browser, still I get this error.