---
title: "Discussion on \"Silent Failure #1: The Dict Key That Only Breaks When You Attach a File\" | Hashnode"
description: "Discussion on \"Silent Failure #1: The Dict Key That Only Breaks When You Attach a File\". On 2026-10-12 a bug report landed in the requests tracker: a non-string key in data prepares fine for a urlencoded body, and the identical dict dies once a file is attached. I reproduced it in about t"
url: "https://hashnode.com/posts/silent-failure-1-the-dict-key-that-only-breaks-when-you-attach-a-file/6af137db7d0235f731e47fa8"
---

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

Discussion

[dafili](https://hashnode.com/@vaultcheck)

Indie developer building command-line tools for Linux auditing and B2B data extraction.

9h ago

# [Silent Failure #1: The Dict Key That Only Breaks When You Attach a File](https://mediaforge-studio.hashnode.dev/silent-failure-1-the-dict-key-that-only-breaks-when-you-attach-a-file?utm_source=hashnode&utm_medium=feed)

On 2026-10-12 a bug report landed in the requests tracker: a non-string key in data prepares fine for a urlencoded body, and the identical dict dies once a file is attached. I reproduced it in about t

mediaforge-studio.hashnode.dev 5 min read

[#python](https://hashnode.com/tag/python) [#webdev](https://hashnode.com/tag/webdev) [#testing](https://hashnode.com/tag/testing) [#opensource](https://hashnode.com/tag/opensource)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
