I get the following error when syncing my app;
User mismatch for client file identifier (IDENT)
I know why the error is being raised, my question is why isn’t the error returned to my code?
The following shows the log entries raised by the SDK;
2022-07-15 05:17:05.055 Info: Connection[1]: Session[1]: client_reset_config = false, Realm exists = true, client reset = false 2022-07-15 05:17:05.126 Info: Connected to endpoint '13.54.209.90:443' (from '127.0.0.1:59626') 2022-07-15 05:17:05.148 Info: Verifying server SSL certificate using 155 root certificates 2022-07-15 05:17:05.971 Info: Connection[1]: Session[1]: Received: ERROR "User mismatch for client file identifier (IDENT)" (error_code=223, try_again=true, recovery_disabled=false) 2022-07-15 05:17:05.984 Info: Connection[1]: Disconnected 2022-07-15 05:17:08.004 Info: Connected to endpoint '13.54.209.90:443' (from '127.0.0.1:59627') 2022-07-15 05:17:08.025 Info: Verifying server SSL certificate using 155 root certificates 2022-07-15 05:17:08.336 Info: Connection[1]: Session[1]: Received: ERROR "User mismatch for client file identifier (IDENT)" (error_code=223, try_again=true, recovery_disabled=false) 2022-07-15 05:17:08.336 Info: Connection[1]: Disconnected 2022-07-15 05:17:12.357 Info: Connected to endpoint '13.54.209.90:443' (from '127.0.0.1:59630') 2022-07-15 05:17:12.377 Info: Verifying server SSL certificate using 155 root certificates 2022-07-15 05:17:12.566 Info: Connection[1]: Session[1]: Received: ERROR "User mismatch for client file identifier (IDENT)" (error_code=223, try_again=true, recovery_disabled=false) 2022-07-15 05:17:12.567 Info: Connection[1]: Disconnected 2022-07-15 05:17:20.588 Info: Connected to endpoint '13.54.209.90:443' (from '127.0.0.1:59631') 2022-07-15 05:17:20.609 Info: Verifying server SSL certificate using 155 root certificates 2022-07-15 05:17:20.799 Info: Connection[1]: Session[1]: Received: ERROR "User mismatch for client file identifier (IDENT)" (error_code=223, try_again=true, recovery_disabled=false) 2022-07-15 05:17:20.800 Info: Connection[1]: Disconnected
My code uses a cancellation token to cancel the procedure if the realm isn’t opened within a suitable timeframe but it would be far more efficient if the SDK returned an error for my code to handle.