Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Event Instead Of EXIT When Dismissing Link With Account Numbers #41

Open
danilobecke opened this issue May 22, 2024 · 0 comments
Open

Comments

@danilobecke
Copy link

A detailed description of the steps to reproduce the issue

  • Start linking
  • Select an institution (Chase, for example)
  • Tap "Continue to login"
  • Tap "Simulate error"
  • Tap "Link with account numbers"
  • Tap top-right close button

What you expected to see?

Expected the onEvent callback to be called with .exit event name

What you saw instead?

onEvent callback not called with .exit event, called with .error instead:

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:

Name Value
Link env sandbox
LinkKit version 5.5.0
iOS version 17.2.1
iOS device iPhone 11

List of used 3rd party libraries (e.g. CocoaPods):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant