diff --git a/riskified-sdk/src/main/java/com/riskified/RiskifiedClient.java b/riskified-sdk/src/main/java/com/riskified/RiskifiedClient.java index 648f597..0b938eb 100644 --- a/riskified-sdk/src/main/java/com/riskified/RiskifiedClient.java +++ b/riskified-sdk/src/main/java/com/riskified/RiskifiedClient.java @@ -888,7 +888,7 @@ public Response RecoveryEligibility(RecoveryEligibility recoveryEligibility) thr * @throws HttpResponseException The server respond status wasn't 200 * @throws FieldBadFormatException bad format found on field */ - public Response InitiateOtp(OtpInitiate otpInitiate) throws IOException{ + public Response InitiateOtp(OtpInitiate otpInitiate) throws IOException, FieldBadFormatException{ String url = otpBaseUrl + "/recover/v1/otp/initiate"; return postOrder(otpInitiate, url); }