Open danilobecke opened 3 months ago
Expected the onEvent callback to be called with .exit event name
onEvent
.exit
onEvent callback not called with .exit event, called with .error instead:
.error
LinkEvent(eventName: ERROR, metadata: LinkKit.EventMetadata(accountNumberMask: Optional(""), errorCode: Optional(LinkKit.ExitErrorCode.apiError(INTERNAL_SERVER_ERROR)), errorMessage: Optional("an unexpected error occurred"), exitStatus: Optional(), institutionID: Optional("ins_56"), institutionName: Optional("Chase"), institutionSearchQuery: Optional(""), isUpdateMode: Optional(""), matchReason: Optional(""), linkSessionID: "16d47a64-9507-436f-b707-80dac7e81f5f", mfaType: nil, requestID: Optional("uWblhY1le5lqitX"), routingNumber: Optional(""), selection: nil, timestamp: 2024-05-22 14:16:10 +0000, viewName: Optional(), metadataJSON: Optional("{\"account_number_mask\":\"\",\"error_code\":\"INTERNAL_SERVER_ERROR\",\"error_message\":\"an unexpected error occurred\",\"error_type\":\"API_ERROR\",\"exit_status\":\"\",\"institution_id\":\"ins_56\",\"institution_name\":\"Chase\",\"institution_search_query\":\"\",\"is_update_mode\":\"\",\"link_session_id\":\"16d47a64-9507-436f-b707-80dac7e81f5f\",\"match_reason\":\"\",\"mfa_type\":\"\",\"request_id\":\"uWblhY1le5lqitX\",\"routing_number\":\"\",\"timestamp\":\"\",\"view_name\":\"\"}")))
When submitting an issue for Plaid Link iOS please include the following information:
env
sandbox
5.5.0
17.2.1
iPhone 11
A detailed description of the steps to reproduce the issue
What you expected to see?
Expected the
onEvent
callback to be called with.exit
event nameWhat you saw instead?
onEvent
callback not called with.exit
event, called with.error
instead:When submitting an issue for Plaid Link iOS please include the following information:
env
sandbox
5.5.0
17.2.1
iPhone 11
List of used 3rd party libraries (e.g. CocoaPods):