Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
235 stars 47 forks source link

Export api endpoint redirects to frontend export #2911

Open AdriDevelopsThings opened 2 months ago

AdriDevelopsThings commented 2 months ago

Describe the bug

I'm trying to export my traewelling checkins with this function. Clicking on CSV (Human or Machine Readable Headings either) sends a POST request to https://traewelling.de/api/v1/export/statuses but this endpoint just redirects me to https://traewelling.de/export again.

Steps to reproduce

  1. Go to https://traewelling.de/export
  2. Click on CSV (Human or Machine Readable Headings)

Browser console logs

No response

Browser

Chrome

AdriDevelopsThings commented 2 months ago

This problem only seems to exist for long periods such as the selection of more than one year. Maybe the frontend should show an error message like "Period is too long".

HerrLevin commented 2 weeks ago

Could/should be fixed with #2444 2444