You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @jan-lewandoski thank you for reaching out to us regarding this issue. We will reach out to the respective API team to understand why a return type similar to the one indicated by the getAttachments endpoint is not present here
Problem description
The
getAttachment()
method fromEnvelopesApi
has invalid return type:As a result, empty responses are returned with a status of
200 OK
and an empty body.The solution
It seems like the problem can be solved by changing the return type:
I can't seem to find any dedicated type (e.g.
EnvelopeAttachmentResult
) but I guess it would be the right choice in this case.I'm happy to discuss other potential solutions 👍
The text was updated successfully, but these errors were encountered: