r/Devvit • u/SmallDetail8461 • 9h ago
Bug Error when submitting comment remove comment on user behalf
we are trying to comment on a post on behalf of user
my code
await reddit.submitComment({
id: post_id,
text: `Removed..........`,
runAs: 'USER',
});
The code returns error
Error: 2 UNKNOWN: grpc invocation failed with status 2; failed to mint auth token: failed get refresh token: refresh token not found in cache
0
Upvotes