Failed to create a create page photo in Facebook Pages: Your photos couldn't be uploaded. Photos should be less than 4 MB and saved as JPG, PNG, GIF, TIFF, HEIF or WebP files.
Failed to create a create page photo in Facebook Pages
Your photos couldn't be uploaded. Photos should be less than 4 MB and saved as JPG, PNG, GIF, TIFF, HEIF or WebP files.
File is 205KB
I have tried it uploading from computer, using link from google drive
I’m at my wits end.
Page 1 / 1
Hi @MarketingWithPre
Good question.
For us to have enough context about your Zap, please post detailed screenshots with how your Zap steps are configured, thanks.
Hey there, @MarketingWithPre! Sorry to hear you’re running into this and we definitely want to help.
As Troy mentioned, can you share your full workflow with us including triggers/actions and any additional apps you’re using? Screenshots of the zap setup (with any personal details removed) are also super useful in helping us dig into this with ya.
In the meantime, one thing I want to mention is it sounds like you’re using a URL to post an image to Facebook Pages though. Can you double check you’re using the “media url” or a direct download link?
Here’s a similar topic that may be useful and explains a bit of this:
Keep us posted!
@MarketingWithPre
For the FB step we’d need to see how this section is configured.
Also, if you can provide the actual link to the image file you are trying to use that will help us, help you.
Observation
Your Filter step conditions, as they are currently configured, will always evaluate to TRUE, meaning the Filter step will always be a success and pass, because the left and right side inputs are being compared to themselves.
@MarketingWithPre
We need to see how this section is configured in your Zap step for Facebook.
I’m not sure how you are getting the GDrive image link into Monday, but you need to use this version of the GDrive file, which is like the Example above.
Otherwise, in the Zap you’ll need to convert the GDrive VIEW link from the Monday trigger in step 1 to a GDrive DIRECT DOWNLOAD link.
That may take a few Formatter steps to convert or 1 Code step.
Thanks I think none of that make sense to me, perhaps I need to look at a different product that isn’t so over my head.
Hi @MarketingWithPre!
I think what Troy is saying here is that the link that’s coming from Monday.com isn’t a direct link to the file itself, it’s a link to a page where you can view a preview of the file. If you’re not able to get the direct links to the files added into Monday.com instead of these “preview” links, then the workaround Troy suggested was to try and get the Zap to generate the direct link to the file instead.
For the workaround you’d essentially use a Formatter by Zapier action to extract the ID of the file. Then in the Facebook action you’d use the ID that’s output from the Formatter action, to generate a file download link (direct link to the file), which Facebook could use to get the image. Here’s how you’d do that…
1. Set up the Formatter action to extract the file’s ID number:
Add a Formatter (Text > Extract Pattern) action.
For the Input field select the field that contains the file from Monday.com
For the Pattern field enter the following pattern: (?<=https://drive.google.com/file/d/)(.*?)(?=/)
This essentially searches for the text that’s in between “https://drive.google.com/file/d/” and the following “/” and retrieves it.
Leave the rest of the fields as they are and click Continue.
Click on the Test action button to run a test, this should show the file’s ID number output into a field.
Here’s an example of how the setup of that action should look:
2. Generate the link in the Facebook action:
Head over to the Create Page Photo (Facebook) action.