{"action":"closed","issue":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/1036","repository_url":"https://api.github.com/repos/RESTful-Drupal/restful","labels_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/1036/labels{/name}","comments_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/1036/comments","events_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/1036/events","html_url":"https://github.com/RESTful-Drupal/restful/issues/1036","id":335123801,"node_id":"MDU6SXNzdWUzMzUxMjM4MDE=","number":1036,"title":"Invalid URL Path 404","user":{"login":"salientknight","id":40220684,"node_id":"MDQ6VXNlcjQwMjIwNjg0","avatar_url":"https://avatars3.githubusercontent.com/u/40220684?v=4","gravatar_id":"","url":"https://api.github.com/users/salientknight","html_url":"https://github.com/salientknight","followers_url":"https://api.github.com/users/salientknight/followers","following_url":"https://api.github.com/users/salientknight/following{/other_user}","gists_url":"https://api.github.com/users/salientknight/gists{/gist_id}","starred_url":"https://api.github.com/users/salientknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salientknight/subscriptions","organizations_url":"https://api.github.com/users/salientknight/orgs","repos_url":"https://api.github.com/users/salientknight/repos","events_url":"https://api.github.com/users/salientknight/events{/privacy}","received_events_url":"https://api.github.com/users/salientknight/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-23T19:09:13Z","updated_at":"2018-06-27T23:59:05Z","closed_at":"2018-06-27T23:59:05Z","author_association":"NONE","body":"1)Installed Restful and dependencies as per \r\n> 3. Installing the RESTful module by Mateu\r\nDrupal: 7.59\r\nRestless: Version: 7.x-2.16\r\nAll module updates run before starting project\r\n1.5. ran patch but was informed that patch was already installed (assume it's been rolled in)\r\n\r\n2)Followed Steps in the tutorial: 4. Writing the first resource by Mateu  on YouTube\r\n\r\n3)Examined code from the resrouce_example module. \r\n\r\n4) Opened path /api/labels\r\n\r\n5)Result  **Error Message** \r\n\r\n\"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5\",\r\n\"title\": \"Invalid URL path.\",\r\n\"status\": 404,\r\n\"detail\": \"Not Found\"\r\n}\r\n\r\n**Path to code:** sites/all/modules/custom/restful_resources/src/Plugin/resources/entity/node/labels/Labels_1_0.php\r\n\r\n**Code:** \r\n `<?php\r\n\r\n/**\r\n * @file\r\n * Contains \\Drupal\\restful_example\\Plugin\\resource\\Labels__1_0.\r\n */\r\n\r\nnamespace Drupal\\restful_resources/src/Plugin/resources/entity/node/labels;\r\n\r\n/**\r\n * Class Labels\r\n * @package Drupal\\restful\\Plugin\\resource\r\n *\r\n * @Resource(\r\n *   name = \"labels:1.0\",\r\n *   resource = \"labels\",\r\n *   label = \"Labels\",\r\n *   description = \"Export the pages with all authentication providers.\",\r\n *   authenticationTypes = TRUE,\r\n *   authenticationOptional = TRUE,\r\n *   dataProvider = {\r\n *     \"entityType\": \"node\",\r\n *     \"bundles\": {\r\n *       \"page\"\r\n *     },\r\n *   },\r\n *   majorVersion = 1,\r\n *   minorVersion = 0\r\n * )\r\n */\r\nclass Labels__1_0 extends ResourceNode implements ResourceInterface {\r\n\r\n\r\n}`\r\nI also tried loading the example module and that also produces errors\r\n\r\nHas anyone seen this? Is there a fix? \r\n\r\n**SOLVED**  There was a typo in the info file. "}}
{"actor":{"display_login":"salientknight"}}