Welcome Guest, Not a member yet? Register   Sign In
CURLRequest Class Failed to parse json string

I am using CURLRequest class, to receive data from an API, sometimes I get this message

<b>Fatal error</b>:  Uncaught CodeIgniter\Format\Exceptions\FormatException: Failed to parse json string, error: &quot;Malformed UTF-8 characters, possibly incorrectly encoded&quot;. in /Users/userName/Sites/MySite/vendor/codeigniter4/framework/system/Format/JSONFormatter.php:41

followed by the stack trace

I understand the message, even if the returned json does not depend on me but on the API, is there a way to still be able to see what is returned from the API in order to understand the problem and possibly report the problem to the API manager?

Messages In This Thread
CURLRequest Class Failed to parse json string - by serialkiller - 11-17-2022, 02:17 AM

Theme © iAndrew 2016 - Forum software by © MyBB