I have a feeling that in this case you may need to manually apply, even if there are no planned changes, or even skip refresh entirely. The error is happening during refresh in this case, so if you are sure that the rest of the resources are generally in sync, perhaps skipping the refresh will allow the data source to be re-written correctly. The separate “refresh” phase was removed in later releases, which also fixed many issues with data sources.