Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

404 if eventdownload file does not exist #85

Open
ghost opened this issue Jun 6, 2019 · 1 comment
Open

404 if eventdownload file does not exist #85

ghost opened this issue Jun 6, 2019 · 1 comment
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Jun 6, 2019

If the file for the organization is absent, a 502 Bad Gateway is shown. Instead an error message that there is no file shown. E.g.

Keine Daten gefunden. Die Dateien werden einmal täglich erstellt.

As files are generated only once per day, this can happen if someone adds a handle and then tries to download.

@ghost ghost added the bug label Jun 6, 2019
@ghost ghost assigned MarkHofstetter and davewood Jun 6, 2019
@MarkHofstetter
Copy link

I see a 404, ie no 502
{
"message": "Resource not found",
"status": "not found"
}

which should be handled by the frontend

@ghost ghost changed the title Bate gateway if eventdownload file does not exist 404 if eventdownload file does not exist Jun 12, 2019
@certrik certrik added this to the Medium priority 200107 milestone Jan 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants