plaid/plaid-python

No error class defined for AUTH_ERROR type

eric-cc-su opened this issue · 2 comments

Plaid docs describe an AUTH_ERROR error_type covering error codes:

  • PRODUCT_NOT_READY
  • VERIFICATION_EXPIRED

Following the existing pattern of using PlaidError child classes to map errors with known error_type values, it would make sense that an AuthError child class should exist as well.

If there is a reason why such a class should not exist I would be interested to know why.

It may be useful to note that there seems to be a discrepancy where the docs do not list AUTH_ERROR in the Error Overview section under the error_type field. Whether that is related to this issue is unclear.

Hey @eric-cc-su, sorry for the delayed response. You are right! We are missing this class in this Python lib. I've made this PR to add the missing error classes #224.

looks like #224 was merged