Traewelling / traewelling

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

Export api endpoint redirects to frontend export #2911

Open AdriDevelopsThings opened 1 month ago

AdriDevelopsThings commented 1 month 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 1 month 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 3 days ago

Could/should be fixed with #2444 2444