Skip to content

Invalid Call to "institutions/get" & Deprecation of Public_Key #26

Open
@jadenreyna

Description

Two issues were discovered when testing that prohibit the use of the app beyond the 'Link your Bank Account' button.

Issue 1 - After inputting API Keys I received an error message in the debug window advising me of missing parameters, specifically the inclusion of "country_codes". Looking at the API documentation and code I pinpointed it to you "institutions/get" call in the PeriodicFetchDataStorage Class -> public let institutions variable. This seems to be missing an array of country_codes. To fix this issue I just added "country_codes": ["US"] to string. Code attached.

PeriodicFetchDataStorage (updated).txt

Issue 2 - After fixing the above issue I came across another related to the use of the public key. Tracing it to your PlaidManager class it seems the use of PublicKey is no longer supported by Plaid and has since been depreciated. The API now uses Public_Token. Unable to pinpoint fix for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions