You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I'm getting the following error and error trace:
HTTP::ConnectionError: error reading from socket: Could not parse data
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/response/parser.rb:31:in `add'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/connection.rb:217:in `read_more'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/connection.rb:103:in `read_headers!'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/client.rb:75:in `perform'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/client.rb:31:in `request'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/chainable.rb:20:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:496:in `public_send'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:496:in `http_send'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:442:in `block in get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:386:in `execute_request'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:441:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/request.rb:41:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/resource_requester.rb:71:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/resource_requester.rb:19:in `find'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/resource.rb:241:in `find'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client_association_methods_factory.rb:33:in `find'
Caused by:
IOError: Could not parse data
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/response/parser.rb:31:in `add'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/connection.rb:217:in `read_more'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/connection.rb:103:in `read_headers!'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/client.rb:75:in `perform'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/client.rb:31:in `request'
/.gem/ruby/2.6.5/gems/http-4.2.0/lib/http/chainable.rb:20:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:496:in `public_send'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:496:in `http_send'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:442:in `block in get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:386:in `execute_request'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client.rb:441:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/request.rb:41:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/resource_requester.rb:71:in `get'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/resource_requester.rb:19:in `find'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/resource.rb:241:in `find'
/.gem/ruby/2.6.5/gems/contentful-management-2.11.0/lib/contentful/management/client_association_methods_factory.rb:33:in `find'
Oddly, retrieving ALL content types in the space and environment works fine and I can see all the content types in the response. I've also noticed a similar error when trying to retrieve content entries as well.
The text was updated successfully, but these errors were encountered:
Trying to follow along with the readme and the official documentation for retrieving content types by ID. I have this code:
But I'm getting the following error and error trace:
Oddly, retrieving ALL content types in the space and environment works fine and I can see all the content types in the response. I've also noticed a similar error when trying to retrieve content entries as well.
The text was updated successfully, but these errors were encountered: