Skip to content

Improve error message on location assignment to groups #173

@zack-rma

Description

@zack-rma

Initiated from changes requested for CDA-109 (See USACE/cwms-data-api#1655).

Current location assignment to location groups will fail if a location does not exist. CDA has been updated to report a more appropriate error message when this occurs.

It was also requested that the non-existent location IDs be returned as part of that error message. This is not available with the current method to assign locations in bulk.

Ideally, the assignment method (ASSIGN_LOC_GROUP3) would verify that the provided locations exist before attempting to assign them to a group. Any non-existent locations should be identified in the returned error message. CDA will need to be updated to handle any changes to error messaging to properly report error details back to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions