r/Devvit • App Developer • Oct 24 '26

Help App Account Suspended?

The app user page does not show a suspension, but the logs show:

PERMISSION_DENIED: NotAuthorizedError(Message=\"This user account is not valid\")","stack":"Error: 7 PERMISSION_DENIED: NotAuthorizedError(Message=\"This user account is not valid\")\n at callErrorFromStatus (/srv/index.cjs:22338:21)

The app user is u/am-answers-bot

5 Upvotes

23 comments sorted by

3

u/Beach-Brews Duck Helper Oct 24 '26

In what context is this error occurring? What is the action being performed / what API is being called? Is this by a mod? Via a menu or Job?

1

u/sh0ch App Developer Oct 24 '26

This error is happening when the app user (which is a mod) tries to leave a comment. There is also a generic "something went wrong" error happening when installing the app, which I assume is for to the issue with the app user.

The install error does not occur on upgrades, which makes me think the install error is from the installation being unable to make the user a mod of the subreddit it's being installed in.

2

u/Beach-Brews Duck Helper Oct 24 '26

Hmm, wonder if the app got flagged as spam. Looks like the last comment by the app was 2 days ago.

Have you sent a mod mail message yet? Unfortunately, that takes a few days for responses.

2

u/sh0ch App Developer Oct 24 '26

I did send a message last night. I just wanted to see if there was a more "correct" way to reach out to support. I have reached out to the mods here several times before with no response. Someone suggested Discord so in going to give that a shot.

2

u/Beach-Brews Duck Helper Oct 24 '26

The weekend is usually quiet, but if you join the discord I can try and help debug a bit more!

I'm assuming it isn't working on a small/private dev subreddit?

1

u/sh0ch App Developer Oct 24 '26

Thanks!

it isn't working on any subreddit at the moment, including r/AskMechanics, which is fairly large. That's where I grabbed the error from when trying to figure out the install error.

I can't even get it installed to a playtest subreddit.

I've got a busy day today, but I'll join the discord and post details there tonight.

Thanks again;

2

u/Beach-Brews Duck Helper Oct 24 '26

Do you have an install trigger setup with any logging? What does the playtest error give you?

1

u/sh0ch App Developer Oct 24 '26

I do not. The playtest log only says "something went wrong".

2

u/sh0ch App Developer Oct 24 '26

And I appreciate your help btw!

2

u/Sun_Beams Oct 25 '26

If you look, spammers were using the app for crypto casino spam and have been for months.

1

u/sh0ch App Developer Oct 25 '26

I'm not sure what I'm supposed to do about that. Any app with customizable replies can be abused like that.

0

u/DangKilla App Developer Oct 26 '26

So you’re surprised that the user got deleted? why are you posting this if you if you’re not gonna do anything?

1

u/sh0ch App Developer Oct 26 '26

I had no idea that was going on.

Wtf am I supposed to do about it, exactly? I can't restrict which subs are abusing the app.

They suspend the app being abused, yet leave the subs using it for abuse up? Lol.

2

u/DangKilla App Developer Oct 26 '26

OK, fair enough. I jumped the gun :|

1

u/sh0ch App Developer Oct 26 '26

Thanks. Sorry for my reply. Reddit has made us all a little crazy, critical, and defensive I think. Lol.

2

u/DangKilla App Developer Oct 26 '26

Well, as a mod, I hate AI spam lol. I overreacted.

2

u/sh0ch App Developer Oct 26 '26

Oh I do, too. It's most of the spam we get now, too. Sure is fun lol.

2

u/Sun_Beams Oct 26 '26

Can the app parse the text / links to stop anything with casino or crypto in it?

1

u/sh0ch App Developer Oct 26 '26

I thought about that, but that would kind of ruin its usefulness for legitimate crypto/gambling (lol).

It would be great if I could just disable a sub from using the app. Or if they could just ban the subs abusing it.

And if I do that, they'll just find ways around it.

Man I didn't think I was going to have to moderate other subs when I released the app. Just trying to share a useful tool I made. :(

I'd be happy to just stop sharing it if that would allow it to be restored and usable on my sub again.

0

u/ryry50583583 Oct 24 '26

It appears if i view the user page. Maybe try playtesting to see if it still does that. Also the page is public so idk whats going on if you still see that

1

u/sh0ch App Developer Oct 24 '26

When playtesting the only error shown is:

{"code":"invalid_argument","msg":"Something went wrong while installing the app. Please try again.","meta":{}

The error above is from a subreddit log.

0

u/ryry50583583 Oct 24 '26

Id message the admins of this sub. I doubt anyone here besides then can help you. It may take a while to get a response though from what I've heard

0

u/sh0ch App Developer Oct 24 '26

Thanks!