I am trying to load a URL for a WFS on my QGIS Server but keep on getting the following error:

<ServerException>Project file error. For OWS services: please provide a SERVICE and a MAP parameter pointing to a valid QGIS project file</ServerException>

Here is the URL I am using, which includes both service and map parameters:


When creating a URL for a WMS using the same URL, it works well so I do not think it is an issue with the file path.

  • There shouldn't be any spaces (%20) in your connection string
    – nmtoken
    Jan 7, 2022 at 15:52
  • For a connection to a WFS in QGIS desktop you would want just: http://localhost:8080/cgi-bin/qgis_mapserv.fcgi.exe?MAP=C:\Users\SSD-LAP-483\Desktop\cesium\BBD_server_test.qgz&
    – nmtoken
    Jan 7, 2022 at 15:53


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.