I have two function. One is responsible for creating audience for the engaged page of Facebook and the other is for creating a custom audience for Instagram business account. I am using step functions to call my lambdas function. But whenever I try to create audience of Facebook and Instagram simultaneously, so I received an error of permission

No permission on event source: You do not have permission to create an audience on one or more event sources

But when I try to create a single audience for example just only for Facebook or just only for Instagram there is no error for the permissions but when I try to create audience simultaneously for the Facebook and for the Instagram business account I got this error

const createSocialAudience = async ({     name,     pageId,     adsAccountId,   } ) => {     if (!name || !adsAccountId || !pageId) {       throw new Error('Marketing API call missing required params');     }     const requestData = {       name,       description: 'Recent page visitors (from 360 days) visiting given page',       rule: {         inclusions: {           operator: 'or',           rules: [             {               event_sources: [                 {                   type: "page",                   id: pageId,                 },               ],               retention_seconds: 60* 60* 24 * 360,               filter: {                 operator: 'and',                 filters: [                   {                     field: 'event',                     operator: 'eq',                     value: 'page_engaged',                   },                 ],               },             },           ],         },       },       access_token: params.marketingApiToken,     };     const { data } = await httpClient.post(       `https://graph.facebook.com/v19.0/act_${adsAccountId}/customaudiences`,       JSON.stringify(requestData)     );     return data;   };   const createInstagramAudience = async ({     name,     igUserId,     adsAccountId,   })  => {     if (!name || !adsAccountId || !igUserId) {       throw new Error('Marketing API call missing required params');     }     const requestData = {       name,       description: 'Recent page visitors (from 360 days) visiting given page',       rule: {         inclusions: {           operator: 'or',           rules: [             {               event_sources: [                 {                   type: 'ig_business',                   id: igUserId,                 },               ],               retention_seconds: 60 *60 * 24 * 360,               filter: {                 operator: 'and',                 filters: [                   {                     field: 'event',                     operator: 'eq',                     value: 'ig_business_profile_engaged',                   },                 ],               },             },           ],         },       },       access_token: params.marketingApiToken,     };     const { data } = await httpClient.post(       `https://graph.facebook.com/v19.0/act_${adsAccountId}/customaudiences`,       JSON.stringify(requestData)     );     return data;   }; 

Expecting to create both of my audience at the same time for example I want two type of event_sources one for page of Facebook and one for ig_business

I am creating facebook video ads with google app script, for this first I have to upload video with this endpoint: "https://graph-video.facebook.com/v19.0/pageId/videos". complete code function is this:

function uploadVideoChunk(pageId, uploadSessionId, startOffset, videoChunk) {     //return uploadFileFetch(pageId, uploadSessionId, startOffset, videoChunk)     var url = "https://graph-video.facebook.com/v19.0/" + pageId + "/videos";     var payload = {       "upload_phase": "transfer",       "access_token": page_access_token,       "upload_session_id": uploadSessionId,       "start_offset": startOffset,       "video_file_chunk": videoChunk     };     var options = {       "method": "POST",       "payload": payload,       "muteHttpExceptions": true     };     var response = UrlFetchApp.fetch(url, options);     var responseData = JSON.parse(response.getContentText());     console.log('upload Video Chunk responseData = ',responseData)     var newStartOffset = responseData.start_offset;          return newStartOffset; } 

I am getting this error: Your video upload timed out before it could be completed. This is probably because of a slow network connection or because the video you're trying to upload is too large. Please try again

could you please help how can I solve this.

Thank you

I am following this: https://developers.facebook.com/docs/video-api/guides/publishing/#step-2--upload-chunks-individually

Hi there,
I'm trying to publish a video post to Instagram Feed & Reels by passing the following params to the /media endpoint in Graph API v18.0:
media_type=REELS share_to_feed=true video_url= https://static.videezy.com/system/resources/previews/000/032/359/original/MM008645___BOUNCING_FRUIT_009___1080p___phantom.mp4 caption=countdown reel & feed location_id=297605497404
The post gets published successfully, however the location tag is not added.
The location id is obtained by querying the Pages Search API.
Does anybody else have this issue?

Since yesterday i get the attached error when i try to create an app. I tried different browsers, ad-block is deactivated. Sometimes i need to insert my passwort - after entering my password, i get the same error.
Can somebody help?
Thank you!