Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: error changeS

Nevo David826d07d2e8b1
diff --git a/libraries/nestjs-libraries/src/integrations/social/threads.provider.ts b/libraries/nestjs-libraries/src/integrations/social/threads.provider.ts
index 0c89c0a51..4dfd1d3fd 100644
--- a/libraries/nestjs-libraries/src/integrations/social/threads.provider.ts
+++ b/libraries/nestjs-libraries/src/integrations/social/threads.provider.ts
@@ -53,6 +53,13 @@ export class ThreadsProvider extends SocialAbstract implements SocialProvider {
};
}
+ if (body.includes('4279013')) {
+ return {
+ type: 'bad-body',
+ value:
+ 'User restricted',
+ };
+ }
if (body.includes('The media could not be fetched from this URI')) {
return {
type: 'bad-body',