Video tweet preview - video not found error

video
tweet-preview

#1

Hi,

when attempting to retrieve a video tweet preview with the following request:
https://ads-api.twitter.com/4/accounts/18ce54ll9da/tweet/preview?text=samplebody&video_id=13_1095705115112235008

we receive an error:

[code] => INVALID_VIDEO_ID
[message] => Video referenced by video_id %s was not found.

The referenced video is connected to account and can be listed using the media library endpoint. We have only noticed the issue on this account.

Regards, Dejan.


#2

@dejan,

It looks like you set additional_owners=155682707 when you uploaded the video. Therefore, you should pass the same (or one of those) user_id value as the additional_owners parameter to the as_user_id value.

e.g.,
https://ads-api.twitter.com/4/accounts/18ce54ll9da/tweet/preview?text=samplebody&video_id=13_1095705115112235008&as_user_id=155682707

Best,
Shohei


#3

Hi,

endpoint works correctly on your end. I made a mistake when upgrading to v4. Sorry for the inconvenience.

Regards, Dejan.