I’ve been banging my head against the wall with this one all week, and am hoping someone here might have some insights.
I have a Make.com scenario that talks to the Meta Business API. One particular call I’m making using the HTTP module returns an “Invalid Parameter” error with a message about my “video needing to be uploaded to Facebook before creating the ad”. (The video has already been uploaded, my guess is that this message is a red herring.)
The odd thing is that when I make the exact same call using the Graph API Explorer tool, the call works.
The input bundle on the Make call:
[
{
"ca": null,
"qs": [
{
"name": "access_token",
"value": "EAAPb7Oxxxxxxxxxxxxxx"
},
{
"name": "object_id",
"value": "259352823939095"
},
{
"name": "instagram_user_id",
"value": "17841466299907139"
},
{
"name": "source_instagram_media_id",
"value": "17850902307207060"
},
{
"name": "call_to_action",
"value": "{\n \"type\": \"LEARN_MORE\",\n \"value\": {\n \"link\": \"https://stream.ryanlangdonmusic.com/sams\"\n }}"
}
],
"url": "https://graph.facebook.com/v19.0/act_299426824568894/adcreatives",
"gzip": true,
"method": "post",
"headers": [],
"timeout": null,
"useMtls": false,
"authPass": null,
"authUser": null,
"bodyType": null,
"serializeUrl": false,
"shareCookies": false,
"parseResponse": true,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
}
]
Here is the JSON used in the Graph API Explorer:
{
"object_id": "259352823939095",
"instagram_user_id": "17841466299907139",
"source_instagram_media_id": "18008642384233311",
"call_to_action": {
"type": "LEARN_MORE",
"value": {
"link": "https://stream.ryanlangdonmusic.com/sams"
}
}
}
And here a grab of that same call in the Graph API Explorer, with the response:
I am using the same access token in both cases. Is there something about the way I am passing parameters in Make that could be causing this? Any help greatly appreciated!