Skip to content

bug: Failed post moves source back to incoming ? #189

Description

@commonpike
ESC[33m[2026-04-19T23:45:09.319] [WARN] user - ESC[39mstdio.pike Post.processResult 20250727-195625-2023-0078d-gullringstj-rna:bluesky failed XRPCError: Invalid app.bsky.feed.post record: grapheme too big (maximum 300, got 344) at $.record.text
    at BskyAgent.call (/home/virtuals/fairpost/fairpost/node_modules/@atproto/xrpc/dist/xrpc-client.js:75:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async AppBskyFeedPostRecord.create (/home/virtuals/fairpost/fairpost/node_modules/@atproto/api/dist/client/index.js:1550:21)
    at async Bluesky.publishVideoPost (file:///home/virtuals/fairpost/fairpost/build/platforms/Bluesky/Bluesky.js:220:26)
    at async Bluesky.publishPost (file:///home/virtuals/fairpost/fairpost/build/platforms/Bluesky/Bluesky.js:107:28)
    at async Post.publish (file:///home/virtuals/fairpost/fairpost/build/models/Post.js:288:16)
    at async Fairpost.execute (file:///home/virtuals/fairpost/fairpost/build/services/Fairpost.js:697:38)
    at async execute (file:///home/virtuals/fairpost/fairpost/build/cli.js:79:24)
    at async file:///home/virtuals/fairpost/fairpost/build/cli.js:117:22 {
  error: 'InvalidRequest',
  headers: {
    'access-control-allow-origin': '*',
    'cache-control': 'private',
    'content-length': '130',
    'content-type': 'application/json; charset=utf-8',
    date: 'Sun, 19 Apr 2026 21:45:09 GMT',
    etag: 'W/"82-8ZxzX6odxSIEV9mj9BbAHT/WynA"',
    'keep-alive': 'timeout=90',
    'ratelimit-limit': '3000',
    'ratelimit-policy': '3000;w=300',
    'ratelimit-remaining': '2998',
    'ratelimit-reset': '1776635405',
    'strict-transport-security': 'max-age=63072000',
    vary: 'Authorization, Accept-Encoding',
    'x-powered-by': 'Express'
  },
  success: false,
  status: 400
} { uri: 'at://local/nop' }
ESC[34m[2026-04-19T23:45:09.321] [TRACE] user - ESC[39mstdio.pike Post save
ESC[34m[2026-04-19T23:45:09.326] [TRACE] user - ESC[39mstdio.pike Source updateStage
ESC[34m[2026-04-19T23:45:09.326] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPosts 20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.326] [TRACE] user - ESC[39mstdio.pike User getPlatforms 
ESC[34m[2026-04-19T23:45:09.326] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPost 20250727-195625-2023-0078d-gullringstj-rna bluesky
ESC[34m[2026-04-19T23:45:09.327] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPost 20250727-195625-2023-0078d-gullringstj-rna facebook
ESC[34m[2026-04-19T23:45:09.327] [TRACE] user - ESC[39mstdio.pike Platform facebook getPost 20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.327] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPost 20250727-195625-2023-0078d-gullringstj-rna instagram
ESC[34m[2026-04-19T23:45:09.327] [TRACE] user - ESC[39mstdio.pike Platform instagram getPost 20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.328] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPost 20250727-195625-2023-0078d-gullringstj-rna linkedin
ESC[34m[2026-04-19T23:45:09.328] [TRACE] user - ESC[39mstdio.pike Platform linkedin getPost 20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.328] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPost 20250727-195625-2023-0078d-gullringstj-rna reddit
ESC[34m[2026-04-19T23:45:09.328] [TRACE] user - ESC[39mstdio.pike Platform reddit getPost 20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.329] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna getPost 20250727-195625-2023-0078d-gullringstj-rna youtube
ESC[34m[2026-04-19T23:45:09.329] [TRACE] user - ESC[39mstdio.pike Platform youtube getPost 20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.329] [TRACE] user - ESC[39mstdio.pike Source 20250727-195625-2023-0078d-gullringstj-rna updateStage stage changed pending incoming
ESC[34m[2026-04-19T23:45:09.337] [TRACE] user - ESC[39mstdio.pike creating dir /incoming/20250727-195625-2023-0078d-gullringstj-rna/_bluesky
ESC[34m[2026-04-19T23:45:09.337] [TRACE] user - ESC[39mstdio.pike moving file pending/20250727-195625-2023-0078d-gullringstj-rna/gullringstj<C3><B8>rna-b.mp4,/incoming/20250727-195625-2023-0078d-gullringstj-rna/gullringstj<C3><B8>rna-b.mp4
ESC[34m[2026-04-19T23:45:09.337] [TRACE] user - ESC[39mstdio.pike moving file pending/20250727-195625-2023-0078d-gullringstj-rna/body.txt,/incoming/20250727-195625-2023-0078d-gullringstj-rna/body.txt
ESC[34m[2026-04-19T23:45:09.337] [TRACE] user - ESC[39mstdio.pike moving file pending/20250727-195625-2023-0078d-gullringstj-rna/post.json,/incoming/20250727-195625-2023-0078d-gullringstj-rna/post.json
ESC[34m[2026-04-19T23:45:09.337] [TRACE] user - ESC[39mstdio.pike moving file pending/20250727-195625-2023-0078d-gullringstj-rna/_bluesky/post.json,/incoming/20250727-195625-2023-0078d-gullringstj-rna/_bluesky/post.json
ESC[34m[2026-04-19T23:45:09.337] [TRACE] user - ESC[39mstdio.pike deleting dir /pending/20250727-195625-2023-0078d-gullringstj-rna
ESC[34m[2026-04-19T23:45:09.338] [TRACE] user - ESC[39mstdio.pike Feed clearCache
ESC[34m[2026-04-19T23:45:09.338] [TRACE] user - ESC[39mstdio.pike User getReport
ESC[34m[2026-04-19T23:45:09.338] [TRACE] user - ESC[39mstdio.pike User getPlatforms 
ESC[34m[2026-04-19T23:45:09.339] [TRACE] user - ESC[39mstdio.pike User putReport
ESC[34m[2026-04-19T23:45:09.341] [TRACE] user - ESC[39mstdio.pike Post 20250727-195625-2023-0078d-gullringstj-rna:bluesky save updated user report
{
        "bluesky": {
                "success": false,
                "dryrun": false,
                "result": "#nolink"
        }
:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions