Why an API request fails with "is not a legal HTTP header value" or "header name", and how to find and clean the header that caused it.