Skip to content

Clarify TikTok pending-share error mentions the 24-hour window#1539

Merged
bsantosh909 merged 1 commit into
mainfrom
fix/tiktok-pending-share-error-message
May 18, 2026
Merged

Clarify TikTok pending-share error mentions the 24-hour window#1539
bsantosh909 merged 1 commit into
mainfrom
fix/tiktok-pending-share-error-message

Conversation

@bsantosh909

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Copy fix — wording change in a user-facing error message.

Why was this change needed?

When a TikTok publish fails with spam_risk_too_many_pending_share, we surface a message to the user. The old message said the limit was reached and to "try again later" — but TikTok's actual rule is "at most 5 pending shares within any 24-hour period" (per their daily upload cap documentation). Without the 24-hour figure, users either retry too soon and hit the same error, or assume the integration is broken.

This PR rewrites the message to state the window explicitly:

TikTok limits pending posts to 5 within any 24-hour period. Please check your TikTok inbox in the TikTok mobile app and try again after 24 hours.

Other information:

Single-line change in libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts. No logic change.

Checklist:

  • I have read the CONTRIBUTING guide.
  • I confirm I have not used AI to submit this PR or generate code for it.
  • I checked that there were no similar issues or PRs already open for this.
  • This PR fixes just ONE issue

TikTok's spam_risk_too_many_pending_share limit applies per 24-hour
period; the previous message did not state the window.
@bsantosh909 bsantosh909 requested a review from nevo-david May 18, 2026 10:01
@postiz-contribution postiz-contribution Bot added the contribution:approved Approved contributor label May 18, 2026
@bsantosh909 bsantosh909 added this pull request to the merge queue May 18, 2026
Merged via the queue into main with commit e19c855 May 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution:approved Approved contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant