• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

How to get the JPG/PNG file from Google Drive?

Status
Not open for further replies.

PRPA

Member
Hi, I have set up a workflow that creates an image and saves it to Google Drive.

In the next step, I want to send the image to WooCommerce and I map the address of the image from the previous step.

It looks like this:


WooCommerce however refuses to accept it, saying it is not in the right format (woocommerce_product_image_upload_error, Invalid image: Sorry, you are not allowed to upload this file type).

Obviously, it wants a file ending with jpg/png... but how do you get it from the Google Drive?

(The workflow ID ends with 68464841258)

Thanks
 
P

Pabblymember11

Guest
As you are not getting the file URL in the proper extension, kindly upload the image first in the Imgur application to convert the proper file extension and then pass its generated file URL further.

1676457281472.png
 

PRPA

Member
Thanks for that!

However, where do you get the drive.google.com/uc?export=downloadXXXXX file please?

My steps are:

1. Google slides: Create presentation
2. Google slides: Get thumbnail
3. Google drive: Upload a file
4. Google drive: Share a file with anyone
5. Imgur: Upload image

... but the in step 5 I only get the

Res2 WebViewLink: https://drive.google.com/file/d/xxxxnamexxx/view?usp=drivesdk

and not the


as in the screenshot above.

As a result, Imgur gives me the error File type invalid.

(If you want to have a look at the workflow, it ends with 89494984)
 
P

Pabblymember11

Guest
However, where do you get the drive.google.com/uc?export=downloadXXXXX file please?
That was just a sample URL from Google Drive.

Can you please check from your WooCommerce account once whether you have permission to upload an image?
 
P

Pabblymember11

Guest
Hey @PRPA

Please check your workflow now, we have made some adjustments and it looks like the image is uploading.
 
Status
Not open for further replies.
Top