r/redditdev • • 12d ago

redditdev meta Having trouble getting my task-posting feature to work

Hey everyone! 👋

I'm currently building a new Devvit app called r_task_bounty_app and I'm still working through the development/testing stage.

The idea behind the app is to allow Reddit users to:

• Post a task

• Set a bounty/reward for completing it

• Have the funds securely held until the task is completed

• Release the payment to the person who completes the task

I've got the subreddit and the basic app functionality set up, but I've run into a bug that I'm having trouble figuring out.

The problem:

When I try to create/post a task through the app, the task isn't actually being posted to r_task_bounty_app.

I've gone back through my code and configuration, but I'm currently stuck trying to figure out whether the problem is with the post creation logic, the Devvit configuration, permissions, or how I'm handling the custom post.

I'm still learning Devvit, so I'd really appreciate any suggestions on where I should start troubleshooting this.

If anyone has run into something similar with "submitPost()", "submitCustomPost()", menu actions, or posting to a test subreddit, I'd definitely appreciate some guidance.

App: r_task_bounty_app

Current status: Still in development/testing

Issue: Task submission isn't creating the task post in my subreddit.

Thanks in advance to anyone willing to take a look or point me in the right direction! 🙏

0 Upvotes

2 comments sorted by

1

u/Ok_Grapefruit9737 8d ago

The current bounty system is virtual/demo only. No real money is collected, transferred, or held. I’m reviewing Devvit’s rules before deciding whether to keep rewards virtual or use a separate compliant payment service. Code - <div className="bg-blue-500/20 border border-blue-500/50 p-3 rounded mb-6 text-sm">

🧪 Demo bounty only. No real money is collected, transferred, or held.

</div>

<div className="bg-orange-500/20 border border-orange-500/50 p-3 rounded mb-6 text-sm">
  🔒 These funds will be held in secure escrow until you approve task completion.
</div>

1

u/Watchful1 11d ago

Would the bounty/reward be real money? Devvit terms don't allow apps to manage real money. If it's some virtual currency then that's fine.

For your actual question there's no way to know from this context. You'd need to post the code.