I am trying to add a CSV that contains lat/long coordinates as a layer to a project in QGIS but I keep getting a 'layer is not valid' error. Here is a picture of the data preview before I click Add:
And here's the error message I'm getting:
CRITICAL Layer is not valid : The layer file:///(path)/(name)?type=csv&detectTypes=yes&xField=Longitude%0D(Decimal%20format)&yField=Latitude%0D(Decimal%20format)&crs=EPSG:4326&spatialIndex=no&subsetIndex=no&watchFile=no is not a valid layer and can not be added to the map. Reason:
Note: I didn't include the file path and file name in the Error message because this is a work-related project. And yes, the reason is blank. It's driving me insane!