{"record":{"id":"be4e51de37a00796","repo":"odysseus-dev/odysseus","slug":"not-your-signature","errorCode":null,"errorMessage":"Not your signature","messagePattern":"Not your signature","errorType":"http","errorClass":"HTTPException","httpStatus":403,"severity":"error","filePath":"routes/signature_routes.py","lineNumber":139,"sourceCode":"            db.refresh(sig)\n            return _to_dict(sig)\n        except Exception as e:\n            db.rollback()\n            logger.error(f\"Failed to save signature: {e}\")\n            raise HTTPException(500, f\"Failed to save signature: {e}\")\n        finally:\n            db.close()\n\n    @router.delete(\"/api/signatures/{sig_id}\")\n    async def delete_signature(sig_id: str, request: Request) -> Dict[str, Any]:\n        user = get_current_user(request)\n        db = SessionLocal()\n        try:\n            sig = db.query(Signature).filter(Signature.id == sig_id).first()\n            if not sig:\n                raise HTTPException(404, \"Signature not found\")\n            if user and sig.owner != user:\n                raise HTTPException(403, \"Not your signature\")\n            db.delete(sig)\n            db.commit()\n            return {\"deleted\": sig_id}\n        except HTTPException:\n            raise\n        except Exception as e:\n            db.rollback()\n            raise HTTPException(500, f\"Failed to delete signature: {e}\")\n        finally:\n            db.close()\n\n    return router\n","sourceCodeStart":121,"sourceCodeEnd":152,"githubUrl":"https://github.com/odysseus-dev/odysseus/blob/f9235ebbf13f693a6fd29ce70b097f6ec83705bf/routes/signature_routes.py#L121-L152","documentation":"Error \"Not your signature\" thrown in odysseus-dev/odysseus.","triggerScenarios":"Triggered when the corresponding server-side validation or runtime check at the recorded location rejects the request or operation and returns this error message to the caller.","commonSituations":"See trigger scenarios.","solutions":["Only modify signatures owned by your account.","Log in as the signature's owner to change it."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f9235ebbf13f693a6fd29ce70b097f6ec83705bf","analyzedAt":"2026-08-14T21:47:48.359Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}