No retry for requests with 401 response
Last updated
Last updated
When an outbound HTTP Request fails with a 401 error, it means the request was unauthorised by the other system - i.e. the authentication credentials given were invalid.
Unifi has a default Response Action for 401 responses which prevents retries for requests that fail with this error. Since credential issues can only be fixed by someone modifying them, retries would continue to use the same invalid authentication and continue to fail.
When a Response Action is applied to an outbound HTTP Request, it is marked on the record so you can easily see how it was handled.
If for some reason you want to retry requests that fail with a 401 error, you can create a new 401 Response Action for the Integration (and specific Message if necessary) and enable retry. This will override the default Unifi 401 Response Action.