π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix(instagram): report untaggable collaborators instead of "Unknown Error"
Gilad Resisic1fd5cffbe8a
diff --git a/libraries/nestjs-libraries/src/integrations/social/instagram.provider.ts b/libraries/nestjs-libraries/src/integrations/social/instagram.provider.tsindex 4f049fa47..19e59ebab 100644--- a/libraries/nestjs-libraries/src/integrations/social/instagram.provider.ts+++ b/libraries/nestjs-libraries/src/integrations/social/instagram.provider.ts@@ -428,6 +428,14 @@ export class InstagramProvider};}+ if (body.indexOf('2207018') > -1) {+ return {+ type: 'bad-body' as const,+ value:+ "One of the collaborators could not be tagged, please check the username is correct, the account is public, and that it allows collaborator invites",+ };+ }+if (body.indexOf('param collaborators is not allowed') > -1) {return {type: 'bad-body' as const,