{"record":{"id":"3133a1a422ee30e0","repo":"gitroomhq/postiz-app","slug":"reddit-took-too-long-to-answer-please-check-your","errorCode":null,"errorMessage":"Reddit took too long to answer, please check your account before posting again","messagePattern":"Reddit took too long to answer, please check your account before posting again","errorType":"exception","errorClass":"BadBody","httpStatus":null,"severity":"warning","filePath":"libraries/nestjs-libraries/src/integrations/social/reddit.provider.ts","lineNumber":618,"sourceCode":"      } else if (check.status === 'completed') {\n        return [\n          {\n            id: response.id,\n            postId: check.postId,\n            releaseURL: check.releaseURL,\n            status: 'published',\n          },\n        ];\n      } else {\n        pendingData = check.pendingData;\n      }\n\n      // Cap below the 10-minute activity timeout of the old workflows using\n      // this method: some subreddits may already be live at this point, so\n      // timing the activity out (which retries and re-submits) is far worse\n      // than failing here - the old websocket wait could hang forever.\n      if (Date.now() - started > 8 * 60 * 1000) {\n        throw new BadBody(\n          this.identifier,\n          '{}',\n          Buffer.from('{}'),\n          'Reddit took too long to answer, please check your account before posting again'\n        );\n      }\n\n      // Keeps the old 5-second spacing between subreddit submissions.\n      await timer(5000);\n    }\n  }\n\n  async comment(\n    id: string,\n    postId: string,\n    lastCommentId: string | undefined,\n    accessToken: string,\n    postDetails: PostDetails<RedditSettingsDto>[],","sourceCodeStart":600,"sourceCodeEnd":636,"githubUrl":"https://github.com/gitroomhq/postiz-app/blob/0f1647f7491a217d43eb5ae7a480484bdf0aff3e/libraries/nestjs-libraries/src/integrations/social/reddit.provider.ts#L600-L636","documentation":"RedditProvider.post waits (formerly via websocket, now polling) for the submission to be confirmed; after 8 minutes it gives up with an explicit warning to check the account. The cap is below the 10-minute Temporal activity timeout because at that point the post may already be live — a retried activity would submit a duplicate.","triggerScenarios":"Reddit does not confirm the submitted post within 8*60*1000 ms during the wait loop after a successful submit.","commonSituations":"Reddit latency, websocket/poll feed delays, or the submission silently held for review/mod queue. The post may or may not exist — hence the check-your-account warning.","solutions":["Manually check the Reddit account/subreddit for the post before doing anything","If published, mark the post as done; do not blind-retry","If not published, re-submit once manually","Add longer spacing between Reddit posts to reduce ambiguous slow confirmations"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"catch (e) { if (/took too long to answer/.test(e.message)) { /* halt auto-retry; require manual account check */ } }","preventionTips":["Never blind-retry after this error — post may be live","Persist submit outcome immediately after sending to Reddit"],"tags":["reddit","timeout","ambiguous-outcome"],"backgroundTag":"ambiguous-create-outcome","analyzedSha":"0f1647f7491a217d43eb5ae7a480484bdf0aff3e","analyzedAt":"2026-08-27T12:09:55.020Z","schemaVersion":2},"datasetVersion":"2026-08-27T13:17:12.746Z"}