Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressable::URI::InvalidURIError (Invalid scheme format: {"email") #17

Open
viswaraj opened this issue Sep 11, 2018 · 1 comment
Open
Assignees
Labels

Comments

@viswaraj
Copy link

Hi,
I got the Invalid scheme format. When try to add a client.

response = @client.post("/clients.json", { 'package_id' => APP_CONFIG[:netdna_package_id], 'name' => "viswaraj", 'alias' => "thg", 'status' => 2, 'account_owner' => {"email"=>"[email protected]", "password"=>"test1234", "firstname"=>"viswaraj", "lastname"=>"Somarajan", "phone"=>"9633555797", "active"=>1}.to_json, 'address' => {"street1"=>"kaloor", "street2"=>"kaloor", "city"=>"Cochin", "state"=>"Kerala", "zip"=>"564666", "country"=>"IN"}.to_json })
Traceback (most recent call last):
1: from (irb):16
Addressable::URI::InvalidURIError (Invalid scheme format: {"email")

Can you help me to fix the issue?

Regards,
Viswaraj

@jmervine jmervine self-assigned this Sep 11, 2018
@jmervine
Copy link

@viswaraj I'll take a look when I get a chance, but to be honest, this is pretty out of date and there's a good chance that the API has changed under the hood with the StackPath acquisition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants