Skip to content
This repository was archived by the owner on Aug 20, 2019. It is now read-only.
This repository was archived by the owner on Aug 20, 2019. It is now read-only.

error for emails such as this one: alostengineer@users.noreply.github.com #61

@radoslaw

Description

@radoslaw

Plugin works for many email addresses but there are several producing errors. Here is one example.

calling this:
person = FullContact.person(email: 'alostengineer@users.noreply.github.com')

produces this:
.rvm/gems/ruby-2.4.1/gems/fullcontact-0.18.0/lib/faraday/response/fullcontact_errors.rb:12:in on_complete': GET https://api.fullcontact.com/v2/person.json?apiKey=EPBLFrAaubnSB11Pe4T7W2ay6LoBfr9I&email=alostengineer%40users.noreply.github.com: 404 (FullContact::NotFound) from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/response.rb:9:in block in call'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/response.rb:61:in on_complete' from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/response.rb:8:in call'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday_middleware-0.12.2/lib/faraday_middleware/response_middleware.rb:31:in call' from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/response.rb:8:in call'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/response.rb:8:in call' from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/request/url_encoded.rb:15:in call'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/rack_builder.rb:139:in build_response' from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/connection.rb:377:in run_request'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/faraday-0.11.0/lib/faraday/connection.rb:140:in get' from /Users/rd/.rvm/gems/ruby-2.4.1/gems/fullcontact-0.18.0/lib/fullcontact/request.rb:17:in request'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/fullcontact-0.18.0/lib/fullcontact/request.rb:6:in get' from /Users/rd/.rvm/gems/ruby-2.4.1/gems/fullcontact-0.18.0/lib/fullcontact/client/person.rb:15:in person'
from /Users/rd/.rvm/gems/ruby-2.4.1/gems/fullcontact-0.18.0/lib/fullcontact.rb:23:in `method_missing'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions