Paperless-ngx post_document returns a task UUID string, not a document ID directly. The code assumed it was a dict and called .get() on a string, causing AttributeError. Now polls the task status endpoint to retrieve the actual integer document ID. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>