laravel-whmcs-up icon indicating copy to clipboard operation
laravel-whmcs-up copied to clipboard

Issue when with API GetClientsProducts

Open domalexxx opened this issue 5 years ago • 4 comments

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

domalexxx avatar Dec 13 '19 17:12 domalexxx

Hello,

I have the same problem in C#. Have you found any solution ?

thank you

rouadahi avatar May 31 '20 21:05 rouadahi

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.

domalexxx avatar May 31 '20 22:05 domalexxx

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.

HassanAthmani avatar Oct 15 '22 23:10 HassanAthmani

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.

alexandervlpl avatar Jul 11 '24 12:07 alexandervlpl