HTTP 401Missing or incorrectly formatted key
The X-API-Key header is absent, empty or malformed. Sending only Authorization: Bearer does not authenticate a lender API request.
HTTP 401
{
"error": "A valid X-API-Key is required."
}How to resolve
- Send the company key in X-API-Key, without a Bearer prefix, quotes or surrounding whitespace.
- Use the full issued key: dls_ followed by 64 lowercase hexadecimal characters. A key ID, account password or webhook signing secret is not an API key.
- Check that LENDER_API_KEY is set in your server environment and that your proxy forwards X-API-Key.