Internal Server Error on Promoted Video publish


#1

Hi,

we have standard access to Twitter Ads API (@Celtra_CMP) and since Today we have started noticing issues when creating Promoted Video Tweets.
The media upload finishes successfully but the POST request to tweets endpoint results in a 500 Internal Server Error. Could you advise on what might be the issue here? It seems like an API issue from what we’re seeing.
Below is the debug info from one of our test requests.

Debug info:
Request Endpoint: https://ads-api.twitter.com/2/accounts/18ce54njlqi/tweet
Request Method: POST
Request Payload: {"text":"test","video_id":"13_996364769396391936","account_id":"18ce54njlqi","as_user_id":"952860484977479680"}
Response: {"code":"INTERNAL_ERROR","message":"Internal Error"}


#2

Hi @3buson! Out of curiosity, do you receive “Internal Error” for every such request, or just for some of them?

Thank you.


#3

Hi @majoritasdev!
The response is the same for all requests of such type.


#4

Oh, I see… Can you please post the link to the documentation page for the call you’re making? I can’t find it.


#5

Sure, here is the promoted video documentation, you can see the /tweet endpoint documentation where the error occurs here.


#6

Thanks!

Ok, I have 2 ideas:

  1. try to make the call with other than “test” as the text. Try with “tweet body”, or “Hello folks! Here it is!”. “test” might enter some spam prevention flow and give an error.
  2. try the same call using v3.0.

And let us know what the results are! :slight_smile:


#7

The ‘test’ is here just because I cannot post the actual content our clients were trying to post. We tried with actual copy of the ad. So that is not the problem.
I can try with 3.0 but I am not sure why this would make the difference. Will let you know.


#8

I just checked with twurl cli and the result is the same if I use v2 or v3 API.
I tested this with requests below, response is always INTERNAL_ERROR.

twurl -H ads-api.twitter.com "/2/accounts/18ce54njlqi/tweet" -d "text=unicorns unicorns&video_id=13_996364769396391936&account_id=18ce54njlqi&as_user_id=952860484977479680"

twurl -H ads-api.twitter.com "/3/accounts/18ce54njlqi/tweet" -d "text=unicorns unicorns&video_id=13_996364769396391936&account_id=18ce54njlqi&as_user_id=952860484977479680"


#9

I see, @3buson. Thank you for all that information! In this case, let’s see what a Twitter representative says.


#10

Hey all,

Thank you for reaching out. We’ve been able to reproduce the issue on our end and are currently working on determining the root cause, as well as possible fixes. We’ll update this thread once we know more, or when the issue is resolved.

Thanks!


#11

Hello all,

We’ve put a fix in place for the issue and it should now be resolved. Please let us know in case there’s still any outstanding problems.

Thanks!


#12

Thanks! It’s working now :slight_smile: