-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload documents from Readable stream #690
Comments
PETOSS-446 |
Thanks for raising an issue, a ticket has been created to track your request |
we experince the same issue, when do you estimate to fix the issue? |
Same here |
Hey @csharpsi @elena-dev-thought @MiscellaneousStuff The issue has been addressed in our latest xero-node v9.0.0. Please try using the latest version and let us know if the issue still persists. |
Hi @sangeet-joy-tw |
When I perform an export, the file is not attached to the invoice. I have a unit test that proves that the document stream passed into the
updateInvoiceAttachmentByFileName
function matches the byte array of the test file and that is passing, so I am confident that the issue is with the SDK.Example effected invoices:
22e3d6d4-3442-444b-b109-fa359bcacef6
3c425103-1d67-4189-9b1f-3ef1baf286e1
The below examples were imported into Xero, the first using the latest version of the xero-node SDK and the second using version 4.17.0
Additionally, I am seeing a console.log message
JSON parse body failed
which looks to be coming from the SDK hereIf I can help any further please let me know
Originally posted by @csharpsi in #631 (comment)
The text was updated successfully, but these errors were encountered: