Open EHJ-52n opened 10 years ago
rendering default error image may lead clients to expect that everything worked ok since an image is returned from the server.
However, a technical documentation could mention this.
Could you not return an image and HTTP error code with the response?
I use the TS-API in combination with an SOS (see EHJ-52n/sos-uol), When requesting binary output with
.../sos/api/v1/timeseries/2/getData.png?timespan=2014-02-17T09:56:56/2014-02-17T10:12:15
I get a black screen with an error message telling me that my browser can not display the image because it contains errors. The server log from this request:In my case, the real problem was that the tomcat7 user has no permissions to write to the tomcat default temp folder located in
TOMCAT_HOME/temp
.