[MapProxy] HTTP status code for missing tiles

dirk.thalheim at bkg.bund.de dirk.thalheim at bkg.bund.de
Wed Aug 29 05:50:29 PDT 2018


Hello list,

we're providing a layer via WMTS which is based on a SQLite cache. The data is generated offline, so the cache in the mapproxy configuration has no source. In higher levels the cache contains only data for our area of interest (Germany + buffer). When I'm requesting the WMTS outside our area of interest, but inside the tile grids extend, I'm getting an Service-Exception like this one:
<ows:ExceptionReport xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd" version="1.0.0" xml:lang="en">
  <ows:Exception exceptionCode="NoApplicableCode">
      <ows:ExceptionText>invalid request (/wmts/1.0.0/web/default/GRID/13/17690/26750.png)</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

The HTTP-status is set to 500, which indicates an internal server error. However I don't see any error messages on the server side. So I'm wondering if this is an expected behavior. Shouldn't be the status code set to 404 - Not Found?

Kind regards,

Dirk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180829/a31be296/attachment.html>


More information about the MapProxy mailing list