creamy-crayon-44092
04/21/2023, 10:56 AMbland-eye-99092
04/21/2023, 11:04 AMcreamy-crayon-44092
04/21/2023, 11:38 AMCall /new?flow=2fcef4be-9bf2-4e89-8b63-e3e4791cf7cf failed with cause java.util.NoSuchElementException: Collection is empty.
I see that this is settings flow ID.creamy-crayon-44092
04/21/2023, 11:38 AMsh.ory.kratos.ApiException: Message: Internal Server Error
creamy-crayon-44092
04/21/2023, 2:46 PMbland-eye-99092
04/21/2023, 2:47 PMcreamy-crayon-44092
04/21/2023, 2:49 PMbland-eye-99092
04/21/2023, 2:49 PMcreamy-crayon-44092
04/21/2023, 2:51 PMbland-eye-99092
04/21/2023, 2:52 PMcreamy-crayon-44092
04/21/2023, 3:05 PMHTTP response code: 500
• HTTP response body: 500: java.util.NoSuchElementException: Collection is empty.
HTTP response headers: {connection=[keep-alive], content-length=[59], content-type=[text/plain; charset=UTF-8]}
at sh.ory.kratos.ApiClient.handleResponse(ApiClient.java:1066)
at sh.ory.kratos.ApiClient.execute(ApiClient.java:979)
at sh.ory.kratos.api.FrontendApi.updateRecoveryFlowWithHttpInfo(FrontendApi.java:3838)
at com.vivira.services.KratosService$updateRecoveryFlowWithHttpInfo$2.invokeSuspend(KratosService.kt:226)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
creamy-crayon-44092
04/21/2023, 3:37 PM// <http://127.0.0.1:4433/self-service/recovery?flow=f631aee4-dbbc-4e52-91be-ba4c6883b2f4&token=gu87EdXnuQTlc8sVIf4ote4ViBrAKhVC>
private suspend fun updateRecoveryFlowWithHttpInfo(flow: String, token: String): ApiResponse<RecoveryFlow> = withContext(<http://Dispatchers.IO|Dispatchers.IO>) {
val updateRecoveryFlowBody = UpdateRecoveryFlowWithLinkMethod().apply {
method = LINK_METHOD
}
kratosFrontEndApi.updateRecoveryFlowWithHttpInfo(flow, UpdateRecoveryFlowBody(updateRecoveryFlowBody), token, null)
}