Trim the example to the smallest code that still produces the problem. Format indentation with a code beautifier if needed, but keep the syntax valid and the behavior unchanged. Add the language and runtime version, the input, expected output, actual output, and exact error message.
Before posting, replace API keys, tokens, passwords, private URLs, customer data, and internal hostnames with safe placeholders. Check comments and configuration files as well as the visible function body. If the failure disappears when you shorten the snippet, note what you removed; that detail may identify the cause.
Formatting improves readability, but it cannot prove the code is correct.