plantbreeding / brapi-Java-TestServer

BrAPI Java Spring-Boot Test Server
https://brapi.org
MIT License
5 stars 7 forks source link

GET /observationunits #27

Closed peterrosario closed 5 years ago

peterrosario commented 5 years ago

I called this method with observationTimeStampRangeStart == 2000-11-11T11:11:11Z. I get the server response with status 500 Error and body

{
  "timestamp": 1558717632212,
  "status": 500,
  "error": "Internal Server Error",
  "message": "Parameter value [2000-11-11T11:11:11Z] did not match expected type [java.util.Date (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [2000-11-11T11:11:11Z] did not match expected type [java.util.Date (n/a)]",
  "path": "/brapi/v1/observationunits"
}
BrapiCoordinatorSelby commented 5 years ago

fixed in dc26d899628f4a16bd424b2e3b760d1f541e572a

Java type mismatch resolved