plaid/plaid-python

call to `identify_verification_get` returning `ApiAttributeError` on `DocumentaryVerificationDocument`

br-follow opened this issue · 9 comments

When we receive a webhook about an updated to an identity verification flow, we call the SDK's identity_verification_get method.

Doing so throws the following error:

ApiAttributeError
DocumentaryVerificationDocument has no attribute 'redacted_at' at ['received_data']['documentary_verification']['documents'][0]['redacted_at']

I can see the IDV results in the plaid dashboard, where a documentary verification was performed and failed on a number of fields. It looks like redacted_at is missing from the response.

@br-follow just to clarify, the situation is that you ARE in fact receiving 'redacted_at' in the API response, but the client library is NOT expecting it -- is that correct?

I'm not entirely sure yet - I would be surprised if the SDK throws an error if it finds a new value. So I would assume that we are not receiving redacted_at, but the SDK is expecting it.

@br-follow thanks for following up!

The SDK is not supposed to throw an error if it finds a new value, but due to a series of unfortunate events (I can go into the details if you want, but basically there was a configuration issue impacting how certain objects in the python SDK were generated) it is in fact throwing an error if it finds a new value.

We plan to release an updated version of the python SDK tomorrow that will fix this issue.

Thank you for the quick turnaround!

Fix has been released!

I don't see a new version released on pypi.

@phoenixy1 Any plans to release this to pypi?

Thank you for the reminder! 😰 We will be releasing this to pypi today

...and it should be released to pypi now!