CURLRequest Class Failed to parse json string |
I am using CURLRequest class, to receive data from an API, sometimes I get this message
Code: <b>Fatal error</b>: Uncaught CodeIgniter\Format\Exceptions\FormatException: Failed to parse json string, error: "Malformed UTF-8 characters, possibly incorrectly encoded". 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
RE: CURLRequest Class Failed to parse json string - by kenjis - 11-17-2022, 05:55 PM
RE: CURLRequest Class Failed to parse json string - by serialkiller - 11-18-2022, 02:11 AM
RE: CURLRequest Class Failed to parse json string - by kenjis - 11-18-2022, 03:15 AM
RE: CURLRequest Class Failed to parse json string - by serialkiller - 11-18-2022, 03:19 AM
RE: CURLRequest Class Failed to parse json string - by InsiteFX - 11-19-2022, 11:55 PM
RE: CURLRequest Class Failed to parse json string - by serialkiller - 11-28-2022, 09:04 AM
RE: CURLRequest Class Failed to parse json string - by kenjis - 11-28-2022, 04:47 PM
|