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.
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.