We’re showing this error in our app. My team tells me we have identical tweets but they are on separate campaigns with different targeting so I’m not sure why this error is getting thrown. The campaigns run normally in ads manager but show errored on our platform.
2 Likes
Hello, @AdrizerNetwork. Thank you for reaching out and welcome to the forums.
The Duplicate Tweet error occurs on Tweet creation. If I make two POST accounts/:account_id/tweet requests with text=hello, world and nothing else set (other than as_user_id), for example, the first will succeed and the second will fail.
This error is not related to campaigns or associating Tweets with line items.
Please let me know if this helps clarify. Thanks!
2 Likes
Hey Juan,
I understand that from the text point of view but if the image is different and in the Twitter UI the campaigns show as running I’m not sure why we’re receiving an error on our end. Our buyers regularly test various images with the same headline and haven’t encountered this issue before.
Case in point this campaign 24814965
Let me know if there’s anything else you need from my end to try to resolve this issue.
Thanks,
Dan
2 Likes
Totally understand. The example I provided above was for illustrative purposes only. You’re right that using different media or cards (even with the same Tweet text) should be, in fact, considered different Tweets (not duplicates).
What would be helpful for us is to have transaction IDs for requests that failed. Look for the x-transaction field in the response headers.
Thank you!
2 Likes
Hi Juan,
Here is a tweet my team just pushed out with the transaction ID: 00ef241700f448d2
Let me know if you need anything else.
Thanks,
Dan
Thanks for providing this example, @AdrizerNetwork. It looks like there were three Tweet create attempts that day using the same text. Two of them succeeded and one failed. All of them used different card URIs. The duplicate detection system may not actually take the card into consideration (this is my guess). Let me check and get back to you.
@AdrizerNetwork could you please help us with the following:
- Describe the way that your app parallelizes Tweet create requests
- Describe the type of retry logic you have implemented
This would be helpful. Thank you!
Hi Juan,
- We are fully parallel across separate tweet creation since we are using serverless.
- We try to create the tweet three times. If it fails we backoff for 10 seconds before trying again.
Let me know anything else I can do to help.
Thanks
Thanks, that’s helpful.
We believe we have identified the cause and have taken action to prevent it from happening. Please let us know if you run into this issue again.