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
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