"no code"? Do you mean missing `$response['code']`  ?