{"action":"closed","issue":{"url":"https://api.github.com/repos/evercam/evercam-api/issues/403","labels_url":"https://api.github.com/repos/evercam/evercam-api/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/evercam/evercam-api/issues/403/comments","events_url":"https://api.github.com/repos/evercam/evercam-api/issues/403/events","html_url":"https://github.com/evercam/evercam-api/issues/403","id":101035041,"number":403,"title":"User signup via shared camera fails","user":{"login":"mosic","id":1229422,"avatar_url":"https://avatars.githubusercontent.com/u/1229422?v=3","gravatar_id":"","url":"https://api.github.com/users/mosic","html_url":"https://github.com/mosic","followers_url":"https://api.github.com/users/mosic/followers","following_url":"https://api.github.com/users/mosic/following{/other_user}","gists_url":"https://api.github.com/users/mosic/gists{/gist_id}","starred_url":"https://api.github.com/users/mosic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosic/subscriptions","organizations_url":"https://api.github.com/users/mosic/orgs","repos_url":"https://api.github.com/users/mosic/repos","events_url":"https://api.github.com/users/mosic/events{/privacy}","received_events_url":"https://api.github.com/users/mosic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"azharmalik3","id":6176136,"avatar_url":"https://avatars.githubusercontent.com/u/6176136?v=3","gravatar_id":"","url":"https://api.github.com/users/azharmalik3","html_url":"https://github.com/azharmalik3","followers_url":"https://api.github.com/users/azharmalik3/followers","following_url":"https://api.github.com/users/azharmalik3/following{/other_user}","gists_url":"https://api.github.com/users/azharmalik3/gists{/gist_id}","starred_url":"https://api.github.com/users/azharmalik3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azharmalik3/subscriptions","organizations_url":"https://api.github.com/users/azharmalik3/orgs","repos_url":"https://api.github.com/users/azharmalik3/repos","events_url":"https://api.github.com/users/azharmalik3/events{/privacy}","received_events_url":"https://api.github.com/users/azharmalik3/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-08-14T15:26:27Z","updated_at":"2015-08-24T06:09:33Z","closed_at":"2015-08-24T06:09:33Z","body":"When a person gets an email invitation to register and clicks the link, it leads them to a signup form on the dashboard with a `key` parameter used for adding the shared camera. It seems that after filling out the form and submitting that parameter gets wrongly parsed as `country` code instead of `share_request_key`.\r\n\r\n```\r\nE, ERROR -- : Evercam error caught processing request.\r\nType: Evercam::NotFoundError\r\nMessage: The country code '65b62f038a37bf29394c41c832d44ab2d34d2ccb2160e5e031' is not valid.\r\nCode: \r\nHTTP Status Code: 404\r\nContext: []\r\nStack Trace:\r\n/app/lib/actors/user_signup.rb:43:in `execute'\r\n/app/vendor/bundle/ruby/2.2.0/gems/mutations-0.7.2/lib/mutations/command.rb:80:in `run'\r\n/app/vendor/bundle/ruby/2.2.0/gems/mutations-0.7.2/lib/mutations/command.rb:32:in `run'\r\n/app/app/api/v1/routes/user_routes.rb:45:in `block (2 levels) in <class:V1UserRoutes>'\r\n/app/vendor/bundle/ruby/2.2.0/gems/grape-0.9.0/lib/grape/endpoint.rb:45:in `call'\r\nI, INFO -- : Response:\r\n{\r\n  \"message\": \"The country code '65b62f038a37bf29394c41c832d44ab2d34d2ccb2160e5e031' is not valid.\",\r\n  \"code\": null,\r\n  \"context\": [\r\n\r\n  ]\r\n}\r\n```"}}