laravel-whmcs-up
laravel-whmcs-up copied to clipboard
Issue when with API GetClientsProducts
When I use API GetClientsProducts it gives error "Error generating JSON encoded response: Malformed UTF-8 characters, possibly incorrectly encoded" although all the rest API is working
Hello,
I have the same problem in C#. Have you found any solution ?
thank you
No, unfortunately I haven’t found any solution.
On May 31, 2020, at 2:34 PM, ouadahi [email protected] wrote:
Hello,
I have the same problem in C#. Have you found any solution ?
thank you
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sburina/laravel-whmcs-up/issues/6#issuecomment-636533365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5LXL463WJ6454W5UCTLKLRULEO7ANCNFSM4J2SAQWA.
I have the same problem too, I found out that it works only when the responsetype is set to XML and not JSON, the password field is causing the error because it contains a different encoding.
This happens to me after I restore my WHMCS MySQL database from a dump. Somehow, the encoding of that password field gets messed up in the process. Tried all kinds of mysql options, nothing helps. :man_facepalming:
Workaround: ended up just blanking all the passwords in SQL because we don't use them anyways.