Skip to content
← Back to activity

Public problem

plaid-python Transfer create: accessing response attributes raises error (12.0.0 / 11.6.0)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

On plaid-python 12.0.0 and 11.6.0, creating a transfer succeeded but accessing attributes on the response model raised an error (the reporter posted a screenshot; a maintainer linked the same root cause as issue #398). A maintainer traced it to the OpenAPI generator: the SDK was built with openapi-generator 5.x, and regenerating with 6.x fixed the response models. The library had failed to build on generator 5.3.1+ with Exception: null, which is what blocked the upgrade.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

The SDK's response models were generated with an old OpenAPI generator (5.x) that produced broken model classes for the transfer endpoints. Plaid regenerated the client with openapi-generator 6.1 and released it the same week — the maintainer confirmed it passed the test suite and planned a Tuesday release. Fix: upgrade plaid-python past the 12.0.0-era release to the regenerated version. There was no usable workaround — the reporter needed to read transfer responses to store transfer info. Source: https://github.com/plaid/plaid-python/issues/458

Source: https://github.com/plaid/plaid-python/issues/458