Media_creative POST returning 503 Error

creative
media
ads
error-codes

#1

Hi everyone,

I’m trying to make a POST on the “/accounts/:accounts/media_creatives” endpoint, and I’m passing in the account_id, line_item_id, and account_media_id as query params. I keep receiving a 503 error (I’m guessing that it’s timing out as the other ad API endpoints are functional), but I don’t understand how I can make the request “less” intensive as I’m only attempting to POST one object.

Any help would be appreciated!


#2

Thanks for reaching out, @rogeyrooo. Are you seeing consistent 503s or is it intermittent? Could you please provide the account ID?


#3

Yes the account ID is 18ce54jqctc.

It’s consistent 503, but after I submitted it a few dozen times on Postman the media_creative associated with the line_item. This probably won’t work well in actual production though :slight_smile:

Just to be clear, I still received a 503 error despite it working.


#4

Thanks, @rogeyrooo. We’ll look at our logs to see if we can get more information.

Just to be clear, I still received a 503 error despite it working.

Good to know. Didn’t realize that was the case.


#5

I’m only seeing 408s in our logs for requests like:

$ twurl -X POST -H ads-api.twitter.com "/2/accounts/18ce54jqctc/media_creatives?line_item_id=9nlma&account_media_id=2tpw6"