Skip to content

"Unable to parse response body into JSON: 4" #48

@interludic

Description

@interludic

I have in the past recieved this error randomly, however now it is happening everytime, what is going on here?

please help as the error message is a little unclear.

23. DMS\Service\Meetup\Command\MeetupResponseParser->parseResponseIntoArray() ==> Guzzle\Http\Message\Response->json(): {
      src: {
        /home/basketba/laravel/vendor/dms/meetup-api-client/src/DMS/Service/Meetup/Command/MeetupResponseParser.php:101: """
          \n
              return $response->json();\n
          }\n
          """
      }
      args: []
    }
    22. DMS\Service\Meetup\Command\MeetupResponseParser->parse() ==> DMS\Service\Meetup\Command\MeetupResponseParser->parseResponseIntoArray(): {
      src: {
        /home/basketba/laravel/vendor/dms/meetup-api-client/src/DMS/Service/Meetup/Command/MeetupResponseParser.php:43: """
          \n
          $responseArray = $this->parseResponseIntoArray($response);\n
          \n
          """
      }
      args: array:1 [
        0 => Guzzle\Http\Message\Response {#3585
          #body: Guzzle\Http\EntityBody {#3584
            #contentEncoding: false
            #rewindFunction: null
            #stream: stream resource {@428
              wrapper_type: "PHP"
              stream_type: "TEMP"
              mode: "w+b"
              unread_bytes: 0
              seekable: true
              uri: "php://temp"
              options: []
            }
            #size: null
            #cache: array:9 [
              "wrapper_type" => "PHP"
              "stream_type" => "TEMP"
              "mode" => "w+b"
              "unread_bytes" => 0
              "seekable" => true
              "uri" => "php://temp"
              "is_local" => true
              "is_readable" => true
              "is_writable" => true
            ]
            #customData: array:1 [
              "default" => true
            ]
          }
          #reasonPhrase: "OK"
          #statusCode: 200
          #info: array:26 [
            "url" => "http://api.meetup.com/2/events?event_id=**hidden**&key=**hidden**"
            "content_type" => "application/json;charset=utf-8"
            "http_code" => 200
            "header_size" => 609
            "request_size" => 205
            "filetime" => -1
            "ssl_verify_result" => 0
            "redirect_count" => 0
            "total_time" => 0.251761
            "namelookup_time" => 5.2E-5
            "connect_time" => 0.000986
            "pretransfer_time" => 0.001063
            "size_upload" => 0.0
            "size_download" => 0.0
            "speed_download" => 0.0
            "speed_upload" => 0.0
            "download_content_length" => 0.0
            "upload_content_length" => 0.0
            "starttransfer_time" => 0.251191
            "redirect_time" => 0.0
            "redirect_url" => ""
            "primary_ip" => "151.101.30.2"
            "certinfo" => []
            "primary_port" => 80
            "local_ip" => "**hidden**"
            "local_port" => **hidden**```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions