Failed Exchange Errors "Expected auth0-forwarded-for header to be a valid IP address"
Last Updated:
Overview
This article details the cause of a high volume of failed exchange errors with the following description:
Expected `auth0-forwarded-for` header to be a valid IP address.
Applies To
- Exchange Error
Cause
Solution
The `auth0-forwarded-for` header is often sent with the resource owner password flow for notifying Auth0 with the user's IP address logging into the application.
To resolve the issue, the server code should be updated to send a single valid IPv6 or IPv4 address.