-
Notifications
You must be signed in to change notification settings - Fork 46
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
GetPdf() type mismatch - can't unmarshal uint8 to string #152
Comments
Looks like this is a problem with the XMLRPC parser. For now, try using the REST endpoint ( the only issue with doing that is the response will be literally
REST
XMLRPC
|
Hi: Thank you for the workaround, now I'm able to save the pdf file after base64 decode it. |
Hi:
I'm trying to save a pdf or excel invoice, but I get an error after the call to getPdf() or getExcel()
- reading body error: type mismatch - can't unmarshal uint8 to string
With sess.Debug = true I can see the base64 encoded pdf but I'm unable to save the result to a file.
Is there a bug with this methods? or I'm doing something wrong?
The text was updated successfully, but these errors were encountered: