Pardot::ResponseError: Invalid API key or user key
[GEM_ROOT]/bundler/gems/ruby-pardot-837bae6ead90/lib/pardot/http.rb:56 in check_response
[GEM_ROOT]/bundler/gems/ruby-pardot-837bae6ead90/lib/pardot/http.rb:19 in post
[GEM_ROOT]/bundler/gems/ruby-pardot-837bae6ead90/lib/pardot/objects/prospects.rb:65 in post
[GEM_ROOT]/bundler/gems/ruby-pardot-837bae6ead90/lib/pardot/objects/prospects.rb:34 in read_by_email
It seems that line if [error, content].include?("Invalid API key or user key") && @api_key
fail to catch the error