diff --git a/src/main/java/com/conveyal/analysis/controllers/OpportunityDatasetController.java b/src/main/java/com/conveyal/analysis/controllers/OpportunityDatasetController.java index 6373d3d66..ec46a3e23 100644 --- a/src/main/java/com/conveyal/analysis/controllers/OpportunityDatasetController.java +++ b/src/main/java/com/conveyal/analysis/controllers/OpportunityDatasetController.java @@ -345,6 +345,7 @@ private OpportunityDatasetUploadStatus createOpportunityDataset(Request req, Res parameters = extractStringParameters(formFields); } catch (Exception e) { status.completeWithError(e); + res.status(400); return status; }