A dedup lookup that fails reads as "not found": urllib.parse.quote() is not query escaping
An invoice number with an apostrophe broke a duplicate check. urllib.parse.quote() percent-encoded the filter, the API decoded it before parsing, the malformed query got a 400, the finder returned None, and the caller pushed the invoice again.
·4 mins