Skip to content

Doesn't seem to like many 'W' postcodes #10

@pafirmin

Description

@pafirmin

Hi there. This may be a broader issue than stated here, but I have noticed that certain West London postcodes are not recognised by the API and a 400 error is returned along with a 'no postcode match can be found' message. A few examples are W1, W2, W3 and W7.

Example request:
curl -X GET https://api.carbonintensity.org.uk/regional/postcode/w7

Response:

    "error": {
        "code": "400 Bad Request",
        "message": "No postcode match can be found."
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions