Skip to content

fix: feed not found error#107

Merged
Alessandro100 merged 1 commit intomainfrom
fix/66-feed-not-found
Apr 13, 2026
Merged

fix: feed not found error#107
Alessandro100 merged 1 commit intomainfrom
fix/66-feed-not-found

Conversation

@Alessandro100
Copy link
Copy Markdown
Contributor

Summary:

closes #66

In our Sentry / Vercel logs, we are getting a lot of Error: {"detail":/// not foudn
image

After investigation the reasons we get this error are

  1. (few) Feeds that were not able to load due to memory issues (fix is done in the API)
  2. Bots were getting pointed to wrong URLs (gtfs_rt when it should of been gtfs) through the structured data
  3. Bots were trying to access feeds that were WIP and not published to the public -> correct behaviour of our application

In this PR issue number 2 was fixed. It is uncertain how the bots are discovering URLs that are currently WIP and require login to access as they are not discoverable in the app or in the sitemap.

Going forward, we might want to reduce / categorize the logs coming from bots as this is noise which distracts from real issues (structured data fix / memory issue in api)

Expected behavior:

We should no longer get any more errors of "feed not found" when the url contained the improper data type as well as no more memory issues coming from the API

Testing tips:

Go to a gtfs realtime feed page, in the dev.console -> element tab, find the structured data. Looks like this

image

and assure that the urls in this structured data work and have the proper data type attached

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@Alessandro100 Alessandro100 self-assigned this Apr 13, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mobilitydatabase-web Ready Ready Preview, Comment Apr 13, 2026 0:50am

Request Review

@github-actions
Copy link
Copy Markdown

*Lighthouse ran on https://mobilitydatabase-rn7px1g2t-mobility-data.vercel.app/ * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 99 🟢 94 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-rn7px1g2t-mobility-data.vercel.app/feeds * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 86 🟠 87 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-rn7px1g2t-mobility-data.vercel.app/feeds/gtfs/mdb-2126 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🔴 48 🟢 94 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-rn7px1g2t-mobility-data.vercel.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 99 🟠 84 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-rn7px1g2t-mobility-data.vercel.app/feeds/gbfs/gbfs-flamingo_porirua * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 92 🟢 94 🟢 96 🟢 100

Copy link
Copy Markdown
Member

@davidgamez davidgamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidgamez
Copy link
Copy Markdown
Member

[out-of-scope]: We should have a more user-friendly error page.

@Alessandro100 Alessandro100 merged commit 63809a7 into main Apr 13, 2026
4 checks passed
@Alessandro100
Copy link
Copy Markdown
Contributor Author

[out-of-scope]: We should have a more user-friendly error page.

agreed we have a ticket for that #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feed not found error: {"detail":"GTFS feed 'tld-1020' not found"}

2 participants