Closed nigelcharman closed 3 months ago
Resolved by adding all the SiteSource values to the ./config/cams_schema.json file.
Still need to find why it occurred and possibly ensure the configuration is kept up to date with changes to SiteSource.
The problem was caused by one of the features having an iNaturalist URL but also having a SiteSource of "CAMSv0.6p-FDRes". Is the SiteSource updated when you edit the feature? I figured it would stay constant so would always by "iNaturalist" for observations we synced.
If we are updating the SiteSource when changes are made, we'll need to either loosen up our checking, or make sure we add new values to our configuration when they are added to CAMS.
Modified to be a simple text field rather than a list of values in 56d6803
GitHub Actions fails with:
See https://github.com/EcoNet-NZ/inaturalist-to-cams/actions/runs/7839779532/job/21393360190