I'm pretty sure you're running into the same regression surfaced by another developer implementing a third party historian. It's fixed in 8.1.33.
Described in a bit more detail here: Nightly 8.1 Changelogs - 2023 - #141 by system
Tag Historian
IGN-8408: Unable to send tag historical data to the Canary historian.
Fixed an issue where Tag History storage wouldn't be accepted to targeted DataSink if matching Tag History provider didn't exist.