Auth0 Payload URL Validation Error Occurs For IP-Based Custom Webhooks
Last Updated:
Overview
When creating a custom log stream, Auth0 generates a payload URL validation error if an administrator uses an IP address instead of a hostname. Administrators resolve this error by providing a domain name with a valid HTTPS certificate for the payload URL. Attempting to create a custom log stream and adding an IP-based URL results in the following error:
{
"statusCode": 400,
"error": "Bad Request",
"message": "The payload URL is invalid."
}
Applies To
- Auth0
- Log Streams
- Custom Webhooks
- URL Validation
Cause
Auth0 does not support IP addresses for the payload URL. The configuration requires a hostname.
Solution
How is the payload URL validation error resolved?
Provide a valid domain name and HTTPS certificate to configure the custom webhook payload URL.
- Enter a domain name with a valid HTTPS certificate for the payload URL value.