{"action":"opened","issue":{"url":"https://api.github.com/repos/woothemes/wc-api-ruby/issues/25","repository_url":"https://api.github.com/repos/woothemes/wc-api-ruby","labels_url":"https://api.github.com/repos/woothemes/wc-api-ruby/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/wc-api-ruby/issues/25/comments","events_url":"https://api.github.com/repos/woothemes/wc-api-ruby/issues/25/events","html_url":"https://github.com/woothemes/wc-api-ruby/issues/25","id":163296504,"number":25,"title":"404 on authentication","user":{"login":"jessicams91","id":5864671,"avatar_url":"https://avatars.githubusercontent.com/u/5864671?v=3","gravatar_id":"","url":"https://api.github.com/users/jessicams91","html_url":"https://github.com/jessicams91","followers_url":"https://api.github.com/users/jessicams91/followers","following_url":"https://api.github.com/users/jessicams91/following{/other_user}","gists_url":"https://api.github.com/users/jessicams91/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicams91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicams91/subscriptions","organizations_url":"https://api.github.com/users/jessicams91/orgs","repos_url":"https://api.github.com/users/jessicams91/repos","events_url":"https://api.github.com/users/jessicams91/events{/privacy}","received_events_url":"https://api.github.com/users/jessicams91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-01T00:35:17Z","updated_at":"2016-07-01T00:35:17Z","closed_at":null,"body":"I was using legacy v2, but on a recent update to woocommerce 2.6.1 I can't connect to the API.\r\n\r\nthis was the configuration before:\r\n\r\n      woocommerce = WooCommerce::API.new(\r\n      self.url, #Url do site\r\n      self.consumer_key, #Consumer Key\r\n      self.consumer_secret, #Consumer Secret\r\n        {\r\n          version: \"v2\" #Versão da API\r\n        }\r\n      )\r\n\r\nnow: \r\n\r\n      woocommerce = WooCommerce::API.new(\r\n      self.url, #Url do site\r\n      self.consumer_key, #Consumer Key\r\n      self.consumer_secret, #Consumer Secret\r\n        {\r\n          wp_api: true,\r\n          version: \"wc/v1\"\r\n        }\r\n      )\r\n\r\nbut I get this:\r\n\r\nJSON::ParserError: 795: unexpected token at '<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>404 Not Found</title>\r\n</head><body>\r\n<h1>Not Found</h1>\r\n<p>The requested URL /wp-json/wc/v1/ was not found on this server.</p>\r\n<p>Additionally, a 404 Not Found\r\nerror was encountered while trying to use an ErrorDocument to handle the request.</p>\r\n</body></html>\r\n\r\nI tried to access the url but get a 404 too, I didn't find any similar issue, any idea what could it be?\r\nMy permalinks is custom and default for products."}}
{"actor":{"display_login":"jessicams91"}}