Open bricoed opened 5 months ago
Same issue, the api responds with an int but the SDK wants a str.
Same issue, I created document from template and did not fill out the redirect
object and I get this error:
ApiTypeError: Invalid type for variable 'url'. Required value type is str and passed type was NoneType at ['received_data']['recipients'][0]['redirect']['url']
If I make the exact API call using curl, everything works fine, so it is an issue processing the API response in the client SDK. Also works downgrading client to v6.1.0.
Downgrading to v6.1.0 caused this issue. So I looked for another way around my issue here. Even thou redirect
doesn't seem the be required, adding it solves the issue I was having.
We upgraded to 6.2.0 yesterday and the
send_document
API call began to fail with:Looks like an issue with the
recipients_array
that was added in 6.2.0. We had to rollback to 6.0.0The docs have this field as an int in the response, so it is a client issue https://developers.pandadoc.com/reference/send-document
Thanks