We are having an error that we aren’t able to solve. We are developing a Blazor WASM application that connects to our web API. In our machines (Windows 10) it works fine, but when we tried to deploy it in a different machine (Windows 11) to test it, it fails in Chrome and Edge, while working in Firefox. Apparently the error is a format exception in an HTTP header. We use a custom header to pass a token (GUID). The name only has alphabetical characters, all of them ASCII. I am not sure this custom header is the cause. I changed request.Headers.Add
to request.Headers.TryAddWithoutValidation
, but the problem persists. Does anyone have any idea of what the problem could be?
Thank you!