Problem with carousel posting with photo and video (mixed content)
1

Do you know how to solve it?

We want to publish the carousel on the page

It contains both photos and video

Created 1st carousel item request { 'is_carousel_item': True, 'access_token': 'xxx', 'image_url': 'https://whoosh-dev.sem.s-monitor.info/media-posts/62c409dcf42f98a535f39308/6682c1c7b35f6f3a8d210a4a/8b181a343b4f42ed9023c37e66b7d430.jpeg' }

response {'id': '18063345688582238'}

Created 2nd carousel item request { 'is_carousel_item': True, 'access_token': 'xxx', 'media_type': 'VIDEO', 'video_url': 'https://whoosh-dev.sem.s-monitor.info/media-posts/62c409dcf42f98a535f39308/6682c1c7b35f6f3a8d210a4a/502a1c7dd74d4608a7af0fc9e83d4324.mp4' } response {'id': '17875289571099982'}

Publish carousel: request { 'access_token': 'xxx', 'caption': 'test carousel1', 'media_type': 'CAROUSEL', 'children': '18063345688582238,17875289571099982' } response { "error": { "message": "An unexpected error has occurred. Please retry your request later.", "type": "OAuthException", "is_transient": true, "code": 2, "fbtrace_id": "ApNM_oQeChpfbEe8QISNBj1" } }

Olena
Asked about 6 months ago
Olena

There is a mistake, we got the error not on the stage of publishing, but on the stage of creating a container for carousel

We even can't get to the publishing stage

July 1 at 8:32 AM
Selected Answer
1

A further clue that I discovered is that the problem happens when the unpublished carousel thread (where there is at least one video item) is created and then immediately published. Putting some time between the two requests seems to resolve it; however, there is no documentation around this nor is there any way clear to query for readiness in between.

December 3 at 9:27 AM
Patrick
1

@Olena: Are you waiting for a READY status on the carousel items after the containers are created?

December 3 at 9:28 AM
Patrick