Ensured correct error behavior for sending IdP request access