---
title: "Discussion on \"The agent lowercased the lookup key and broke every case-sensitive record\" | Hashnode"
description: "Discussion on \"The agent lowercased the lookup key and broke every case-sensitive record\". The agent lowercased an opaque external id to fix inconsistent lookups, normalizing on write and read. New rows matched, existing mixed-case rows went missing and fell back to a default nobody noticed. Covers when normalization corrupts stored data and how to keep the canonical token intact."
url: "https://hashnode.com/posts/agent-normalized-lowercase-key-broke-case-sensitive-lookups/6adf9bdca895bdc638d39e05"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The agent lowercased the lookup key and broke every case-sensitive record](https://blogs.powerduck.com/agent-normalized-lowercase-key-broke-case-sensitive-lookups?utm_source=hashnode&utm_medium=feed)

The agent lowercased an opaque external id to fix inconsistent lookups, normalizing on write and read. New rows matched, existing mixed-case rows went missing and fell back to a default nobody noticed. Covers when normalization corrupts stored data and how to keep the canonical token intact.

Oct 26 · 3 min read · blogs.powerduck.com  
Read the article

-   [#aicode](https://hashnode.com/tag/aicode)
-   [#aiagents](https://hashnode.com/tag/aiagents)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#dataintegrity](https://hashnode.com/tag/dataintegrity)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
