gitroomhq/postiz-app · warning · BadBody

Reddit took too long to answer, please check your account be

Error message

Reddit took too long to answer, please check your account before posting again

What it means

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.

Source

Thrown at libraries/nestjs-libraries/src/integrations/social/reddit.provider.ts:618

      } else if (check.status === 'completed') {
        return [
          {
            id: response.id,
            postId: check.postId,
            releaseURL: check.releaseURL,
            status: 'published',
          },
        ];
      } else {
        pendingData = check.pendingData;
      }

      // Cap below the 10-minute activity timeout of the old workflows using
      // this method: some subreddits may already be live at this point, so
      // timing the activity out (which retries and re-submits) is far worse
      // than failing here - the old websocket wait could hang forever.
      if (Date.now() - started > 8 * 60 * 1000) {
        throw new BadBody(
          this.identifier,
          '{}',
          Buffer.from('{}'),
          'Reddit took too long to answer, please check your account before posting again'
        );
      }

      // Keeps the old 5-second spacing between subreddit submissions.
      await timer(5000);
    }
  }

  async comment(
    id: string,
    postId: string,
    lastCommentId: string | undefined,
    accessToken: string,
    postDetails: PostDetails<RedditSettingsDto>[],

View on GitHub (pinned to 0f1647f749)

Solutions

  1. Manually check the Reddit account/subreddit for the post before doing anything
  2. If published, mark the post as done; do not blind-retry
  3. If not published, re-submit once manually
  4. Add longer spacing between Reddit posts to reduce ambiguous slow confirmations
Defensive patterns

Strategy: try-catch

Try / catch

catch (e) { if (/took too long to answer/.test(e.message)) { /* halt auto-retry; require manual account check */ } }

Prevention

When it happens

Trigger: Reddit does not confirm the submitted post within 8*60*1000 ms during the wait loop after a successful submit.

Common situations: 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.

Related errors


AI-assisted analysis of gitroomhq/postiz-app@0f1647f749 (2026-08-27). Data as JSON: /api/errors/3133a1a422ee30e0. Report an issue: GitHub.