Skip to content

User-supplied geo format should be checked and descriptive error returned #1625

Open
@nmdefries

Description

@nmdefries

Feedback from Phil (SCCPHD)

Actual Behavior:

If I put a 6-digit number when trying to select a county, it says that the geo is not found.

Steps to Reproduce the Bug:

Put a 6-digit number when trying to show data for a county.

Expected behavior

Validate format of geo value (e.g. that FIPS is 5-digits; if less than 5, left-pad with 0s). I would like better feedback if the geo value is not found because it's an invalid format. Right now, the user doesn't have a good idea of what are valid/invalid formats. Some of the geo types are less standard than others and may have different ways to specify.

Rating Scale (1 is minor, 7 is severe):

3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api changeaffect the API and its responsesbugenhancementuser experiencethings that affect users of our software or services

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions