{"action":"opened","issue":{"url":"https://api.github.com/repos/ministryofjustice/postcodeinfo/issues/123","labels_url":"https://api.github.com/repos/ministryofjustice/postcodeinfo/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/postcodeinfo/issues/123/comments","events_url":"https://api.github.com/repos/ministryofjustice/postcodeinfo/issues/123/events","html_url":"https://github.com/ministryofjustice/postcodeinfo/issues/123","id":126395769,"number":123,"title":"Partial search for NP15 still returns null local authority & country","user":{"login":"aldavidson","id":134501,"avatar_url":"https://avatars.githubusercontent.com/u/134501?v=3","gravatar_id":"","url":"https://api.github.com/users/aldavidson","html_url":"https://github.com/aldavidson","followers_url":"https://api.github.com/users/aldavidson/followers","following_url":"https://api.github.com/users/aldavidson/following{/other_user}","gists_url":"https://api.github.com/users/aldavidson/gists{/gist_id}","starred_url":"https://api.github.com/users/aldavidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldavidson/subscriptions","organizations_url":"https://api.github.com/users/aldavidson/orgs","repos_url":"https://api.github.com/users/aldavidson/repos","events_url":"https://api.github.com/users/aldavidson/events{/privacy}","received_events_url":"https://api.github.com/users/aldavidson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T11:13:36Z","updated_at":"2016-01-13T11:13:36Z","closed_at":null,"body":"When you step through the code in the console, it does find 5 local authorities for that postcode area, but it's still returning null in the JSON, and a null country\r\n\r\n```\r\nGET /postcodes/partial/NP15/?&token=(...)\r\n\r\nHTTP 200 OK\r\nContent-Type: application/json\r\nVary: Accept\r\nAllow: GET, HEAD, OPTIONS\r\n\r\n{\r\n    \"country\": null,\r\n    \"local_authority\": null,\r\n    \"centre\": {\r\n        \"type\": \"Point\",\r\n        \"coordinates\": [\r\n            -2.8853554496767186,\r\n            51.72190237825971\r\n        ]\r\n    }\r\n}\r\n```"}}