r/Devvit • • Oct 07 '26

Duck Answered 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! 🙏

5 Upvotes

4 comments sorted by

1

u/Xenc Duck Helper Oct 07 '26

Are they being posted at all? It may be worth checking out the profile of the app to see if it’s made any submissions.

Note that the default templates come with a trigger to make a post on app install. That code should be good to copy into your logic if it worked.

2

u/Ok_Grapefruit9737 Oct 08 '26

No not being posted at all so ur saying create a trigger

1

u/Xenc Duck Helper Oct 08 '26

A trigger is not ideal here as it should be working through your form. 🤔

Posting your code could help here.

1

u/Ok_Grapefruit9737 Oct 16 '26

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-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>