As mentioned in this Knowledge Article, when an action is trying to redirect while in the middle of a silent authentication, this error will be thrown.
As stated above, the solution is to deny access, send the user to the callback URL and handle the error from there.
If you have any other questions feel free to ask us.