{"action":"created","issue":{"url":"https://api.github.com/repos/artsy/eigen/issues/806","labels_url":"https://api.github.com/repos/artsy/eigen/issues/806/labels{/name}","comments_url":"https://api.github.com/repos/artsy/eigen/issues/806/comments","events_url":"https://api.github.com/repos/artsy/eigen/issues/806/events","html_url":"https://github.com/artsy/eigen/issues/806","id":107546893,"number":806,"title":"Failing Inquiries","user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/artsy/eigen/labels/bug?","name":"bug?","color":"F4ACB2"},{"url":"https://api.github.com/repos/artsy/eigen/labels/D:2","name":"D:2","color":"0044CC"},{"url":"https://api.github.com/repos/artsy/eigen/labels/Time%20Sensitive","name":"Time Sensitive","color":"ff6666"}],"state":"open","locked":false,"assignee":{"login":"jorystiefel","id":1065248,"avatar_url":"https://avatars.githubusercontent.com/u/1065248?v=3","gravatar_id":"","url":"https://api.github.com/users/jorystiefel","html_url":"https://github.com/jorystiefel","followers_url":"https://api.github.com/users/jorystiefel/followers","following_url":"https://api.github.com/users/jorystiefel/following{/other_user}","gists_url":"https://api.github.com/users/jorystiefel/gists{/gist_id}","starred_url":"https://api.github.com/users/jorystiefel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorystiefel/subscriptions","organizations_url":"https://api.github.com/users/jorystiefel/orgs","repos_url":"https://api.github.com/users/jorystiefel/repos","events_url":"https://api.github.com/users/jorystiefel/events{/privacy}","received_events_url":"https://api.github.com/users/jorystiefel/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/artsy/eigen/milestones/16","html_url":"https://github.com/artsy/eigen/milestones/Sprint%20August%2025%20-%20October%206","labels_url":"https://api.github.com/repos/artsy/eigen/milestones/16/labels","id":1220574,"number":16,"title":"Sprint August 25 - October 6","description":"Add support for iOS 9 features that grow inquiries.","creator":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":10,"state":"open","created_at":"2015-07-22T15:57:27Z","updated_at":"2015-09-29T08:54:39Z","due_on":"2015-10-05T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-09-21T16:13:06Z","updated_at":"2015-09-29T10:41:48Z","closed_at":null,"body":"So, we have a higher than expected number of failing inquiries. A look through seems to indicate two things, sorry non-OSS peeps.\r\n\r\n* [It's for trail users](https://mixpanel.com/report/275154/segmentation/#action:segment,arb_event:'Inquiry%20error',bool_op:and,chart_analysis_type:linear,chart_type:line,from_date:-167,ms_checked:(false:!t,true:!t),ms_values:!(false,true),segfilter:!((property:(name:is_trial_user,source:properties,type:boolean),selected_property_type:boolean,type:boolean)),segment_type:boolean,to_date:0,type:general,unit:week)\r\n* [It's mostly a 404](https://mixpanel.com/report/275154/segmentation/#action:segment,arb_event:'Inquiry%20error',bool_op:and,chart_analysis_type:rolling,chart_type:line,from_date:-167,ms_checked:('A%20server%20with%20the%20specified%20hostname%20could%20not%20be%20found.':!t,'Expected%20status%20code%20in%20(200-299),%20got%20400':!t,'Expected%20status%20code%20in%20(200-299),%20got%20404':!t,'Request%20failed:%20not%20found%20(404)':!t,'The%20network%20connection%20was%20lost.':!t,'The%20request%20timed%20out.':!t),ms_values:!('Expected%20status%20code%20in%20(200-299),%20got%20404','Expected%20status%20code%20in%20(200-299),%20got%20400','Request%20failed:%20not%20found%20(404)','The%20request%20timed%20out.','The%20network%20connection%20was%20lost.','A%20server%20with%20the%20specified%20hostname%20could%20not%20be%20found.'),segfilter:!((property:(name:errors,source:properties,type:string),selected_property_type:string,type:string)),segment_type:string,to_date:0,type:general,unit:week)\r\n\r\nPerhaps somewhere we are generating an incorrect URL for the POST?  Why some and not others?\r\n\r\nWe should also amend the analytics call for \"Inquiry error\" to include the URL too - it should exist as `NSURLErrorFailingURLErrorKey`."},"comment":{"url":"https://api.github.com/repos/artsy/eigen/issues/comments/144021445","html_url":"https://github.com/artsy/eigen/issues/806#issuecomment-144021445","issue_url":"https://api.github.com/repos/artsy/eigen/issues/806","id":144021445,"user":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T10:41:48Z","updated_at":"2015-09-29T10:41:48Z","body":"From @jorystiefel in Slack:\r\n\r\n> I’m told there were significant changes on the Gravity side to that artwork inquiries around the time we started seeing those 404s, … just an update.\r\n\r\nComparing your last [graph](https://mixpanel.com/report/275154/segmentation/#action:segment,arb_event:'Inquiry%20error',bool_op:and,chart_analysis_type:rolling,chart_type:line,from_date:-167,ms_checked:('A%20server%20with%20the%20specified%20hostname%20could%20not%20be%20found.':!f,'Expected%20status%20code%20in%20(200-299),%20got%20400':!f,'Expected%20status%20code%20in%20(200-299),%20got%20404':!t,'Request%20failed:%20not%20found%20(404)':!t,'The%20network%20connection%20was%20lost.':!f,'The%20request%20timed%20out.':!f),ms_values:!('Expected%20status%20code%20in%20(200-299),%20got%20404','Expected%20status%20code%20in%20(200-299),%20got%20400','Request%20failed:%20not%20found%20(404)','The%20request%20timed%20out.','The%20network%20connection%20was%20lost.','A%20server%20with%20the%20specified%20hostname%20could%20not%20be%20found.'),segfilter:!((property:(name:errors,source:properties,type:string),selected_property_type:string,type:string)),segment_type:string,to_date:0,type:general,unit:day) against the [commit history of Gravity](https://github.com/artsy/gravity/commits/10762caab80f11ff84fa3ec0e05d87a144e494ad/app/api/v1/me_inquiry_requests_endpoint.rb) for that endpoint, it seems to have started around/after [this commit](https://github.com/artsy/gravity/commit/e23f1584503c2d5444ea9355da60fd1bb1ce151c). Since then @sweir27 and @joeyAghion have been doing work on it.\r\n\r\nSo I guess the question is, are we sending incorrect data in certain cases and, if so, what is that incorrect/missing data?"}}