Solving 'the following layers were not correctly generated' in QGIS SAGA
I was working on a map recently and tried to use SAGA in QGIS to make a multilevel b-spline raster from some scattered vector points. (More to come tomorrow!) However, I kept getting the vague error “The following layers were not correctly generated.”
![a screenshot of the error](/2023/08/22/solving-the-following-layers-were-not-correctly-generated-in-qgis-saga/Screenshot%202023-08-24%20at%202.47.21%20PM_hu649bc575febac8ee23a7be60cf93673d_157754_1800x1800_fit_box_3.png)
I found some Stack Overflow posts with the same error but my problem seemed unrelated to the filename/disk space issues mentioned. As I experimented with the data, I discovered two circumstances that produce this rather vague error:
- Attempting to interpolate a field with a space (or possibly other non-alphanumeric characters) in the name
- Attempting to interpolate a non-numeric field
So if you’re encountering this, check that you’re interpolating a numeric field with a short alphanumeric name.