镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

a problem with custom post creation #258

Open

Description

@Himmy504

Environment:

  • Subreddit: r/mydevvitbottest2
  • Devvit CLI: @devvit/cli/0.12.23-next-2026-05-05-17-20-47-e5daaf644.0
  • @devvit/web: 0.12.23-next-2026-05-05-17-20-47-e5daaf644.0
  • Node: v20.19.0

Problem:
Both reddit.submitCustomPost() and fallback reddit.submitPost() fail in playtest with:
Error: undefined undefined: undefined

This happens for:

  1. submitCustomPost({ runAs: 'USER', entry: 'default', userGeneratedContent, textFallback })
  2. submitCustomPost({ runAs: 'APP', entry: 'default', textFallback })
  3. submitPost({ runAs: 'APP', text })

All post creation calls fail with the same gRPC error:

  • GenericPluginClient.SubmitCustomPost
  • GenericPluginClient.Submit

What I already tried

  • Added permissions.reddit.asUser: ["SUBMIT_POST"] to devvit.json
  • Uploaded a fresh version and explicitly installed queuecurb@0.0.2 to r/mydevvitbottest2
  • Confirmed the local playtest CLI is already on 0.12.23-next
  • Rebuilt and restarted playtest cleanly
  • Verified the same failure happens for both USER and APP runs, and also for plain submitPost()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions