FitDevs-withKat / Twitter-Bot-

MIT License
6 stars 1 forks source link

403 from Twitter API - Campaign Function #9

Open Kyle-Kerlew opened 2 years ago

Kyle-Kerlew commented 2 years ago

Automated bots are prevented from posting similar content consecutively, occasionally our bot will try to tweet something that results in this error. I'm not sure what caused the error, but this needs to be looked into and prevented.

2022-10-09 16:00:04.636 EDT data: {
2022-10-09 16:00:04.636 EDT detail: 'You are not allowed to create a Tweet with duplicate content.',
2022-10-09 16:00:04.636 EDT type: 'about:blank',
2022-10-09 16:00:04.636 EDT title: 'Forbidden',
2022-10-09 16:00:04.636 EDT status: 403
2022-10-09 16:00:04.636 EDT }
Kyle-Kerlew commented 2 years ago

use backeup templates for 403 response