Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response code 500 on the LINK Knoxville feed #130

Closed
richfab opened this issue Sep 27, 2023 · 1 comment
Closed

Response code 500 on the LINK Knoxville feed #130

richfab opened this issue Sep 27, 2023 · 1 comment

Comments

@richfab
Copy link
Contributor

richfab commented Sep 27, 2023

What is the issue and why is it an issue?

When using the validator on a random feed (LINK Knoxville from systems.csv#L686), I realized that it returns "Sorry, this version is not yet implemented or not detectable !". However, the filegbfs.json is conform to v2.2 when testing it against the JSON Schema.

It could be a problem for other feeds too.

gbfs.json Output
image image

Please describe some potential solutions you have considered (even if they aren’t related to GBFS).

I don't have a solution but I did some debugging, if it helps.

The checkAutodiscovery() method in gbfs.js catches this error:

HTTPError: Response code 500 (Internal Server Error)
    at Request.<anonymous> (/Users/fabien/GitHub/MobilityData/gbfs-validator/gbfs-validator/node_modules/got/dist/source/as-promise/index.js:118:42)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {name: 'HTTPError', code: 'ERR_NON_2XX_3XX_RESPONSE', timings: {…}, stack: 'HTTPError: Response code 500 (Internal Server…ions (node:internal/process/task_queues:95:5)', message: 'Response code 500 (Internal Server Error)', …}

But the feed loads correctly in the browser 🤔

@richfab
Copy link
Contributor Author

richfab commented Sep 27, 2023

Duplicate of #90

@richfab richfab marked this as a duplicate of #90 Sep 27, 2023
@richfab richfab closed this as completed Sep 27, 2023
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

No branches or pull requests

1 participant