Publit.Si
Docs›All problems

Troubleshooting

Troubleshooting

Errors people ran into while setting up Publit.Si, and the fix for each. Type your error message below, or pick a section. Most fixes link to the right spot in the docs, with a screenshot. Your coding agent knows this list too. Nothing helps? See Logs and support.

Install and start

Tunnel

  • Tunnel stays red

    Check ~/.cloudflared/publitsi.yml (UUID, credentials file, hostname) and PUBLITSI_PUBLIC_URL. With Tailscale Funnel: tailscale funnel status must list port 3100 and the same address as PUBLITSI_PUBLIC_URL.

    Show where to fix it
    Publit.Si Settings, Status: Worker, Gateway (local) and Public URL (tunnel) with green dots
    1. 1:Worker
    2. 2:Public URL (tunnel)
    Settings › Status: worker, gateway and tunnel are green. With YouTube only, the tunnel may stay off.
    Fix it in “Open a tunnel with Cloudflare” →

Connecting any platform

  • redirect_uri_mismatch

    The redirect URI in the dashboard must match exactly, including http/https and port.

    Show where to fix it
    Publit.Si Settings, Platform setup: a card per platform with checks, a status badge and the redirect URI to copy
    1. 1:Status of the platform
    2. 2:Redirect URI to copy
    Settings › Platform setup: what's set for each platform and the exact redirect URI to copy.
  • Facebook: "missing permission pages_…"

    The Pages permissions aren't in the use case or the login configuration. Add them under Use cases → Manage everything on your Page → Customize → Permissions and features, tick them in the configuration (step 4c.3–4), then connect again and allow all.

Instagram

LinkedIn

YouTube

Most YouTube problems come from Google's test mode: add yourself as a test user, and reconnect every 7 days or switch to production. Test mode or production? →

  • YouTube: "Access blocked: Google's review of … was not completed" (403 access_denied)

    Your Google project is in test mode and your account isn't on the list yet. In your own Google project: Audience → Test users → + Add users, add the Google account you connect with, save and connect again (step 5.2). No Branding, domain or publishing is needed for this. The sign-in then lasts 7 days; to skip the weekly reconnect see step 5, "YouTube without the weekly reconnect".

    Show where to fix it
    Google Auth Platform, Audience: publishing status Testing, user type External, the user cap and Test users with Add users
    1. 1:Testing
    2. 2:External
    3. 3:Add users
    Audience → Test users → + Add users. This is the step that fixes “Access blocked”.
    Fix it in “Connect YouTube” →
  • YouTube: "Publish app" is disabled and asks to complete Branding

    You only need this to skip the weekly reconnect; as a test user you can connect right away. Google wants a homepage, privacy policy and terms on your own domain. With the Cloudflare tunnel (step 3), your gateway serves all three: https://your-host/, /privacy and /terms. Add your domain under Authorized domains and save. See step 5, "YouTube without the weekly reconnect".

    Show where to fix it
    Branding, App domain: empty fields for home page, privacy policy and terms of service, and Authorized domains with Add domain
    1. 1:Home page, privacy, terms
    2. 2:Add domain
    For production only: App domain takes the three links from your gateway, Authorized domains your domain.
    Fix it in “Connect YouTube” →
  • YouTube: "Google hasn't verified this app"

    In test mode Google shows “You've been given access to an app that's currently being tested”: choose Continue. In production the unverified app shows Advanced → Go to … (unsafe). Both are fine for the project you created yourself. This warning differs from the blocked 403 screen, which needs a test-user entry in Testing.

    Show where to fix it
    Google sign-in warning: Google hasn't verified this app, you've been given access to an app that's currently being tested, with Continue and Back to safety
    1. 1:Continue
    In test mode Google says you were given access to an app being tested. It's your own app: click Continue.
    Fix it in “Connect YouTube” →
  • YouTube asks to sign in again after a week

    In Google's test mode the sign-in ends after 7 days. Reconnect, or switch your Google project to production (step 5, "YouTube without the weekly reconnect") and reconnect once.

    Show where to fix it
    Audience, Publishing status Testing with a greyed-out Publish app button and the note to complete Branding first
    1. 1:Testing
    2. 2:Publish app
    Publish app stays greyed out until Branding is complete. Then click it → In production → reconnect YouTube once.
    Fix it in “Connect YouTube” →
  • YouTube: "renews automatically" but access stopped after 7 days

    Publit.Si renews the short access token, but in Google's test mode the sign-in behind it still ends after 7 days. Check Google Auth Platform → Audience → Publishing status. Switch to production (step 5, "YouTube without the weekly reconnect"), then Accounts → open the account → Reconnect.

    Fix it in “Connect YouTube” →
  • YouTube: added as a test user but the same 403 still appears

    Check the exact Google-account email selected during sign-in, not an alias or channel name. Confirm the saved client ID belongs to the Google project whose test-user list you changed. Save, then start a fresh connection. If the message names an organization policy, ask your Google Workspace administrator.

    Show where to fix it
    Add users panel with a Google account email typed in and the Save button
    1. 1:Your Google account
    2. 2:Save
    Add the Google account that owns your YouTube channel, then Save.
    Fix it in “Connect YouTube” →
  • YouTube: Branding rejects the domain or asks to verify ownership

    Authorized domains takes a domain such as example.com, without https:// or a path. Do not enter localhost, the callback URL or publit.si. Use your tunnel's domain: your gateway serves the homepage, /privacy and /terms there. If requested, verify it in Google Search Console using a project owner/editor. The local callback stays under Clients → Authorized redirect URIs.

    Show where to fix it
    Branding, App domain: empty fields for home page, privacy policy and terms of service, and Authorized domains with Add domain
    1. 1:Home page, privacy, terms
    2. 2:Add domain
    For production only: App domain takes the three links from your gateway, Authorized domains your domain.
    Fix it in “Connect YouTube” →
  • YouTube: invalid_client, unauthorized_client or invalid Google client credentials

    Use the Web application OAuth client's ID and matching secret from the same Google project. Enter them under Settings → Platform setup → YouTube → Enter credentials → Save and apply. After changing them, reconnect the account. Repeatedly reconnecting with the wrong credentials will not fix this.

    Show where to fix it
    Create OAuth client ID: application type Web application and a name
    1. 1:Clients
    2. 2:Web application
    Clients → Create client → application type Web application. The name is only for you.
    Fix it in “Connect YouTube” →
  • YouTube: invalid_grant, access expired/revoked or Reconnect required

    Use Accounts → open the YouTube account → Reconnect; do not disconnect it first, because disconnecting cancels scheduled posts. If it happens after a week, your Google project is in test mode; see step 5, "YouTube without the weekly reconnect". Google may also revoke access or apply account policies; this error alone cannot identify the cause.

    Fix it in “Connect YouTube” →
  • YouTube: API disabled, SERVICE_DISABLED or accessNotConfigured in an API response

    In the project matching your saved client ID, APIs & Services → Library: enable YouTube Data API v3. For watch-time reports also enable YouTube Analytics API. Wait for Google to apply the change and retry. A sign-in page referring to Workspace administrator configuration instead needs that administrator's help.

    Show where to fix it
    Google Cloud, YouTube Data API v3 product page, already enabled: Manage button and API Enabled
    1. 1:Enable / Manage
    YouTube Data API v3 → Enable. Once it's on, the button says Manage and “API Enabled” appears.
    Fix it in “Connect YouTube” →
  • YouTube: no YouTube channel, wrong channel or missing Brand Account

    Sign in to YouTube with that Google account and confirm it has access to the intended channel. Create a channel if it has none. Reconnect in Publit.Si and choose the intended channel; a personal channel can be listed under your Google-account name. For a Brand Account in Testing, list its managing Google account as a test user.

    Fix it in “Connect YouTube” →
  • YouTube: upload permission denied, insufficientPermissions or uploads ahead need reconnecting

    Reconnect the account. On Google's permission screen the three YouTube boxes start unticked: tick Select all, then Continue. Uploading ahead with YouTube publishing later also needs permission to manage the uploaded video; without it, Publit.Si uploads at the scheduled time. For partial statistics, check the enabled APIs and granted permissions. If Google offers no way to grant access, inspect the policy or verification message rather than repeating the connection.

    Fix it in “Connect YouTube” →
  • YouTube: admin_policy_enforced, org_internal or an organization blocks access

    For org_internal, check the intended Audience setting; a project restricted to Internal only accepts its organization members. For an account-policy block, ask your Google Workspace administrator to review this OAuth client's access. Adding a test user or switching to production cannot override organization policies.

  • YouTube: quotaExceeded or uploadLimitExceeded

    Check Settings → Limits today and the Google project's API quotas. Connected channels using the same project share its project quota; channels may also have their own upload limits. Publit.Si waits and retries rate-limited work. Project daily quotas reset at midnight Pacific Time; a channel limit may need a separate wait. Reconnecting does not raise a quota.

  • YouTube: browser cannot open localhost after Google sign-in

    Keep Publit.Si running and use the exact callback shown under Settings → Platform setup → YouTube, including host and port. Open the app on the same computer as the browser, or use the SSH tunnel described in SETUP.md for a server. A phone or another computer's localhost points to that device, not your Publit.Si installation.

    Show where to fix it
    OAuth client for a web application: Authorized JavaScript origins empty, Authorized redirect URIs with the localhost callback
    1. 1:JavaScript origins: leave empty
    2. 2:Authorized redirect URIs
    The callback goes under Authorized redirect URIs, not under JavaScript origins.
    Fix it in “Connect YouTube” →

X

  • X post never shows as published

    Without the extension, a post is only marked published after you click It’s online on its copy page or in the queue. With the extension: check that it is turned on for the account under Accounts, click ↻ on Publit.Si Helper in chrome://extensions in that Chrome profile – X needs version 0.3 – and check that the account's Chrome profile is the one signed in to X, click Post and wait for “Your post was sent”. Still waiting? Click It’s online in the queue and paste the post's link.

    Show where to fix it
    chrome://extensions with Developer mode on, the Load unpacked button and the Publit.Si Helper card
    1. 1:Developer mode
    2. 2:Load unpacked
    3. 3:Publit.Si Helper
    chrome://extensions → Developer mode on → Load unpacked → the extension/ folder.
    Fix it in “Connect X” →

TikTok

  • TikTok rejects the login with a scope error

    The statistics scopes aren't enabled. Switch off TikTok: statistics under Settings › Platforms › Statistics and comments (or set TIKTOK_ANALYTICS=0 and restart), then reconnect.

    Show where to fix it
    TikTok app scopes: user.info.basic, video.publish, video.upload and two more user info scopes
    1. 1:user.info.basic
    2. 2:video.publish
    3. 3:video.upload
    Scopes: Publit.Si needs these three. For statistics also user.info.stats and video.list (Display API).
    Fix it in “Connect TikTok” →
  • TikTok post never gets marked as published

    By default, confirm "It’s online" on the copy page or in the queue after posting yourself. With the optional extension, check it is installed in the right Chrome profile and turned on for this account; confirm "It’s online" yourself if needed.

    Show where to fix it
    chrome://extensions with Developer mode on, the Load unpacked button and the Publit.Si Helper card
    1. 1:Developer mode
    2. 2:Load unpacked
    3. 3:Publit.Si Helper
    chrome://extensions → Developer mode on → Load unpacked → the extension/ folder.
    Fix it in “Connect TikTok” →

Studio and AI

Blog

Still stuck? The logs and how to reach us are on Logs and support.