diff --git a/backend/app/api/endpoints/tags.py b/backend/app/api/endpoints/tags.py index 334e33f8..b8438e8b 100644 --- a/backend/app/api/endpoints/tags.py +++ b/backend/app/api/endpoints/tags.py @@ -105,8 +105,8 @@ async def get_tag( # Check access: global tags visible to all, account tags only to account members if tag.account_id and tag.account_id != current_user.account_id and not current_user.is_super_admin: raise HTTPException( - status_code=status.HTTP_403_FORBIDDEN, - detail="You don't have access to this tag" + status_code=status.HTTP_404_NOT_FOUND, + detail="Tag not found" ) return TagResponse.model_validate(tag)