Better error message to when platform has timeouts

Open
#105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by reproducing the upload failure that returns 503 or 504 from GetSubredditInfoByName, then trace where that platform error is surfaced in Devvit. Done means timeout failures show an actionable message indicating that the problem is on the platform side rather than in the developer's code.

Written by the indexing model from the issue text.

Description

reddit-api
Details

I got "Error: GetSubredditInfoByName HTTP error 504: Gateway Timeout" during my second attempt uploading, and then back to 503 in my third attempt.

Additional info

Discord message: These things could be useful to have noted in devvit itself when the errors occur, like a “looks like an error on our end” message to save devs thinking it’s a change they made in the code

Message author: xenc.

Discord link: https://discord.com/channels/1050224141732687912/1050227353311248404/1292846876252442715

Dominant language
TypeScript
Stars
210
Forks
88
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reddit/devvit

All issues in reddit/devvit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.