The DELETE tags endpoint returned HTTP 400 with a misleading error
message ("no new tags in createtagsrequest or maximum reached") when
the requested tag was absent from the file's ArbitraryMetadata. This
made it impossible to clean up stale tags that exist in the search
index but not in the file metadata.
Change UnassignTags to:
- skip the SetArbitraryMetadata call when nothing was removed
- always publish the TagsRemoved event so the search index stays in sync
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>