MuleSoft · Validation Module
VALIDATION:REJECTED_IP
Short answer
VALIDATION:REJECTED_IP is thrown by the Validation module's Is allowed IP and Is not denied IP operations when the IP address is not allowed by the configured list. Check the value passed to the validator, and handle the error type if invalid input is something the flow should answer cleanly.
VerifiedLast verified
01Error text
Error type: VALIDATION:REJECTED_IP02Likely causes
- The Is allowed IP and Is not denied IP operations failed: the IP address is not allowed by the configured list.
- If a validation fails, an error is thrown. Its type is always a child of
VALIDATION:VALIDATION.
03How to fix it
- Log the value the validator's expression resolves to, and compare it with what the validator expects.
- Review the allow list or deny list the operation uses, and add or remove the address as intended.
- Set the validator's Message parameter to say what was wrong, so the error description is useful to the caller.
- Handle the failure with an error handler of type
VALIDATION:REJECTED_IP, for example to return a 400 response.
04Official documentation
→Related errors
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer