Struggling with first basic Facebook automation

:bullseye: What is your goal?

I am simply trying to set up a weekly facebook post which contains an image as an attachment - not a URL embedded image.

:thinking: What is the problem?

I have a workflow which consists of a weekly scheduler, an http ‘download a file’ module and a Facebook pages ‘create a post with photos’ module. I am unsure how to correctly link up the http module to the Facebook module which is causing the below error when I try to run it:

BundleValidationError Validation failed for 2 parameter(s). Missing value of required parameter ‘fileName’. Value can’t be casted as buffer for parameter ‘data’. Origin Make Automatic error handler If you want to handle this error automatically, choose one of the following options. This will create a new error-handler route in your scenario. You can then expand the route in any way you like. ignore all errors ignore errors of type BundleValidationError more information about error handling

:test_tube: What have you tried so far?

I have tried many different mapping options in the photos section of the facebook module. The one that ‘feels’ the most correct is toggling map for Photos > Image input type which auto completes the field that opens up with the word 'data.

Then after this in the File section I have selected map, which has opened two fields, one called File name and one called Data which have 13. File name and 13. Data in them respectively. The File name corresponds with the image name string with the file type at the end (e.g. photo-name.png) and the 13. Data is the and corresponds with a string of numbers and letters.

I have been unable to find a tutorial video that seems to address this problem and the documentation on Make is vague.

:link: Create public scenario page

Hey there,

can you check the link you shared cause I think its the wrong version. There is no module 13 in it.

Also, can you share some screenshots of how the modules are setup and what the input bundle looked like when the error happened?

Hi Stoyan, thanks for getting back so quick!

This is what I have on my workflow (I just had to recreate it as the version I saved seemed to only have 2 modules which I’ve since changed). This should preview how the workflow looks now: Integration Tools, Facebook Pages - Make.com Automation Scenario

Additionally - I’ve noticed on the facebook page itself that there is one test run I did which did upload the image correctly (and not just as an embedded link) but I’m unsure how to revert the workflow back to this. Is there a way to wind back the history to get it back to a working version?

Thanks again.

The way th screenshot looks like leads me to think you ran the module on its own, hence the error, there was no data.

Also you can toggle the option to take the file from the http module instead of mapping it. Try doing that and running the entire flow to see if it works.

Then you can also check the scenario history to find out what the difference was when it ran successfully.