{"action":"created","issue":{"url":"https://api.github.com/repos/raml-org/raml-js-parser/issues/149","labels_url":"https://api.github.com/repos/raml-org/raml-js-parser/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/raml-org/raml-js-parser/issues/149/comments","events_url":"https://api.github.com/repos/raml-org/raml-js-parser/issues/149/events","html_url":"https://github.com/raml-org/raml-js-parser/issues/149","id":89116507,"number":149,"title":"Error parsing: while scanning for the next token found character \t that cannot start any token   in \"Todo.raml\", line 7, column 1","user":{"login":"jabr9983","id":10716758,"avatar_url":"https://avatars.githubusercontent.com/u/10716758?v=3","gravatar_id":"","url":"https://api.github.com/users/jabr9983","html_url":"https://github.com/jabr9983","followers_url":"https://api.github.com/users/jabr9983/followers","following_url":"https://api.github.com/users/jabr9983/following{/other_user}","gists_url":"https://api.github.com/users/jabr9983/gists{/gist_id}","starred_url":"https://api.github.com/users/jabr9983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabr9983/subscriptions","organizations_url":"https://api.github.com/users/jabr9983/orgs","repos_url":"https://api.github.com/users/jabr9983/repos","events_url":"https://api.github.com/users/jabr9983/events{/privacy}","received_events_url":"https://api.github.com/users/jabr9983/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-17T20:21:56Z","updated_at":"2015-06-18T16:45:40Z","closed_at":null,"body":"I am getting this error when trying to parse my raml file.\r\nError parsing: while scanning for the next token found character \t that cannot start any token   in \"Todo.raml\", line 7, column 1\r\nI don't know what I am doing wrong. Any guidance would be great. This is my raml file:\r\n\r\n```yaml\r\n#%RAML 0.8\r\ntitle: Todo API\r\nversion: v1\r\nbaseUri: http://localhost:3000\r\nprotocols: [HTTP, HTTPS]\r\nmediaType: application/json\r\n\t/tasks:\r\n\t\tget:\r\n\t\t\tdescription: Get a list of all Tasks.\r\n\t\t\tresponses:\r\n\t\t\t\t200:\r\n\t\t\t\t\tbody:\r\n\t\t\t\t\t\tapplication/json:\r\n\t\t\t\t\t\t\texample: |\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"tasks\": [\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t    \t\"_id\": \"556f927e265f627993000012\",\r\n\t\t\t\t\t\t\t\t\t        \"description\": \"Make dinner\",\r\n\t\t\t\t\t\t\t\t\t        \"name\": \"task1\",\r\n\t\t\t\t\t\t\t\t\t        \"date_created\": \"2015-06-03T23:49:18.059Z\"\r\n\t\t\t\t\t\t\t\t\t     },\r\n\t\t\t\t\t\t\t\t \t\t{\r\n\t\t\t\t\t\t\t\t \t\t\t\"_id\": \"55705da20f014efb93000009\",\r\n\t\t\t\t\t\t\t\t \t\t    \"description\": \"Watch your sister\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"name\": \"task2\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"date_created\": \"2015-06-04T14:16:02.087Z\"\r\n\t\t\t\t\t\t\t\t \t\t},\r\n\t\t\t\t\t\t\t\t \t\t{\r\n\t\t\t\t\t\t\t\t \t\t\t\"_id\": \"557069295ec4d36d94000006\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"description\": \"Meeting at 9:30\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"name\": \"task3\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"date_created\": \"2015-06-04T15:05:13.612Z\"\r\n\t\t\t\t\t\t\t\t \t\t},\r\n\t\t\t\t\t\t\t\t \t\t{\r\n\t\t\t\t\t\t\t\t \t\t\t\"_id\": \"557088e7c08d7e6495000001\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"description\": \"Go home\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"name\": \"task4\",\r\n\t\t\t\t\t\t\t\t \t\t\t\"date_created\": \"2015-06-04T17:20:39.330Z\"\r\n\t\t\t\t\t\t\t\t        }\r\n\t\t\t\t\t\t\t\t        {\r\n\t\t\t\t\t\t\t\t            \"_id\": \"55708ee2efba7e9d95000009\",\r\n\t\t\t\t\t\t\t\t            \"description\": \"Go to bed\",\r\n\t\t\t\t\t\t\t\t            \"name\": \"task5\",\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t           \"date_created\": \"2015-06-04T17:46:10.530Z\"\r\n\t\t\t\t\t\t\t\t        },\r\n\t\t\t\t\t\t\t\t        {\r\n\t\t\t\t\t\t\t\t            \"_id\": \"55807c154790bb000000003a\",\r\n\t\t\t\t\t\t\t\t            \"description\": \"Eat Dinner\",\r\n\t\t\t\t\t\t\t\t            \"name\": \"task 6\",\r\n\t\t\t\t\t\t\t\t            \"date_created\": \"2015-06-16T19:42:13.798Z\"\r\n\t\t\t\t\t\t\t\t        }\r\n\t\t\t\t\t\t\t\t     ]\r\n\t\t\t\t\t\t\t\t}\r\n\t\tpost:\r\n\t\t    description: |\r\n\t\t\t\tAdd a new task.\r\n\t\t\tqueryParameters:\r\n\t\t\t\ttask_name:\r\n\t\t\t\t\tdescription: \"Unique Task name\"\r\n\t\t\t\t\texample: task1\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: string\r\n\t\t\t\ttask_description:\r\n\t\t\t\t\tdescription: \"Description of the task\"\r\n\t\t\t\t\texample: Mow the lawn.\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: string\r\n\t\t\tbody:\r\n\t\t\t\tapplication/json:\r\n\t\t\t\t\tschema: task\r\n\t\t\tresponses:\r\n\t\t\t\t200:\r\n\t\t\t\t\tbody:\r\n\t\t\t\t\t\tapplication/json:\r\n\t\t\t\t\t\t\texample: |\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"message\": \"Task added with name: task1\"\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t \t\r\n\t\tput:\r\n\t\t    description: |\r\n\t\t\t\tUpdate a task.\r\n\t\t\tqueryParameters:\r\n\t\t\t\ttask_name:\r\n\t\t\t\t\tdescription: \"Unique Task name\"\r\n\t\t\t\t\texample: task1\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: string\r\n\t\t\t\ttask_description:\r\n\t\t\t\t\tdescription: \"Description of the task\"\r\n\t\t\t\t\texample: Mow the lawn.\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: string\r\n\t\t\t\ttask_id:\r\n\t\t\t\t\tdescription: \"Unique Task id\"\r\n\t\t\t\t\texample: 56f927e265f627993000012\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: number\r\n\r\n\t\t\tbody:\r\n\t\t\t\tapplication/json:\r\n\t\t\t\t\tschema: task\r\n\t\t\tresponses:\r\n\t\t\t\t200:\r\n\t\t\t\t\tbody:\r\n\t\t\t\t\t\tapplication/json:\r\n\t\t\t\t\t\t\texample: |\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"message\": \"Task updated\"\r\n\t\t\t\t\t\t\t\t}\r\n\t\tdelete:\r\n\t\t    description: |\r\n\t\t\t\tRemove a task.\r\n\t\t\tqueryParameters:\r\n\t\t\t\ttask_id:\r\n\t\t\t\t\tdescription: \"Unique Task id\"\r\n\t\t\t\t\texample: 56f927e265f627993000012\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: number\r\n\r\n\t\t\tbody:\r\n\t\t\t\tapplication/json:\r\n\t\t\t\t\tschema: task\r\n\t\t\tresponses:\r\n\t\t\t\t200:\r\n\t\t\t\t\tbody:\r\n\t\t\t\t\t\tapplication/json:\r\n\t\t\t\t\t\t\texample: |\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"message\": \"Task removed\"\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t \t\t\t\r\n\t\t\t\t\t\t\t\t \t\t\t\r\n\t/tasks/{task_id}:\r\n\t\tget:\r\n\t\t\tdescription: Get a list of a specific task by id.\r\n\t\t\tqueryParameters:\r\n\t\t\t\ttask_id:\r\n\t\t\t\t\tdescription: \"Unique Task id\"\r\n\t\t\t\t\texample: 56f927e265f627993000012\r\n\t\t\t\t\trequired: true\r\n\t\t\t\t\ttype: number\r\n\t\t\tresponses:\r\n\t\t\t\t200:\r\n\t\t\t\t\tbody:\r\n\t\t\t\t\t\tapplication/json:\r\n\t\t\t\t\t\t\texample: |\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\"_id\": \"556f927e265f627993000012\",\r\n\t\t\t\t\t\t\t\t\t\"description\": \"Make dinner\",\r\n\t\t\t\t\t\t\t\t\t\"name\": \"task1\",\r\n\t\t\t\t\t\t\t\t\t\"date_created\": \"2015-06-03T23:49:18.059Z\"\r\n\t\t\t\t\t\t\t\t}\r\n```\r\n\t"},"comment":{"url":"https://api.github.com/repos/raml-org/raml-js-parser/issues/comments/113214217","html_url":"https://github.com/raml-org/raml-js-parser/issues/149#issuecomment-113214217","issue_url":"https://api.github.com/repos/raml-org/raml-js-parser/issues/149","id":113214217,"user":{"login":"dmartinezg","id":1099335,"avatar_url":"https://avatars.githubusercontent.com/u/1099335?v=3","gravatar_id":"","url":"https://api.github.com/users/dmartinezg","html_url":"https://github.com/dmartinezg","followers_url":"https://api.github.com/users/dmartinezg/followers","following_url":"https://api.github.com/users/dmartinezg/following{/other_user}","gists_url":"https://api.github.com/users/dmartinezg/gists{/gist_id}","starred_url":"https://api.github.com/users/dmartinezg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmartinezg/subscriptions","organizations_url":"https://api.github.com/users/dmartinezg/orgs","repos_url":"https://api.github.com/users/dmartinezg/repos","events_url":"https://api.github.com/users/dmartinezg/events{/privacy}","received_events_url":"https://api.github.com/users/dmartinezg/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T16:45:39Z","updated_at":"2015-06-18T16:45:39Z","body":"You need to indent, you had the right idea at first, but indentation _must_ be with spaces:\r\n\r\n```yaml\r\nbody:\r\n          application/json:\r\n            example: |\r\n              {\r\n                \"tasks\": [\r\n                  {\r\n                    \"_id\": \"556f927e265f627993000012\",\r\n                    \"description\": \"Make dinner\",\r\n                    \"name\": \"task1\",\r\n                    \"date_created\": \"2015-06-03T23:49:18.059Z\"\r\n                  },\r\n                  {\r\n                    \"_id\": \"55705da20f014efb93000009\",\r\n                    \"description\": \"Watch your sister\",\r\n                    \"name\": \"task2\",\r\n                    \"date_created\": \"2015-06-04T14:16:02.087Z\"\r\n                  },\r\n                  {\r\n                    \"_id\": \"557069295ec4d36d94000006\",\r\n                    \"description\": \"Meeting at 9:30\",\r\n                    \"name\": \"task3\",\r\n                    \"date_created\": \"2015-06-04T15:05:13.612Z\"\r\n                  },\r\n                  {\r\n                    \"_id\": \"557088e7c08d7e6495000001\",\r\n                    \"description\": \"Go home\",\r\n                    \"name\": \"task4\",\r\n                    \"date_created\": \"2015-06-04T17:20:39.330Z\"\r\n                  }\r\n                  {\r\n                    \"_id\": \"55708ee2efba7e9d95000009\",\r\n                    \"description\": \"Go to bed\",\r\n                    \"name\": \"task5\",\r\n                    \"date_created\": \"2015-06-16T1904T17:46:10.530Z\"\r\n                  },\r\n                  {\r\n                    \"_id\": \"55807c154790bb000000003a\",\r\n                    \"description\": \"Eat Dinner\",\r\n                    \"name\": \"task 6\",\r\n                    \"date_created\": \"2015-06-16T19:42:13.798Z\"\r\n                  }\r\n                ]\r\n              }\r\n```\r\n\r\n(use backticks, not singlequotes for code fences"}}