ocket8888 opened a new issue, #7681:
URL: https://github.com/apache/trafficcontrol/issues/7681
## This Bug Report affects these Traffic Control components:
- Traffic Ops
## What did you do?
```shellsession
$ topost -k topologies '{"name": "dev", "nodes": [{"cachegroup": "dev"}]}' >
/dev/null
$ topost -k topologies '{"name": "dev-1", "nodes": [{"cachegroup": "dev"}]}'
> /dev/null
$ toput -kp 'topologies?name=dev' '{"name": "dev-1", "nodes":
[{"cachegroup": "dev"}]}'
```
## What did you expect to happen?
400 Bad Request response:
```json
{
"alerts": [
{
"text": "topology name 'dev-1' already exists.",
"level": "error"
}
]
}
```
(note that this is done appropriately on creation/POST requests).
## What actually happened?
500 Internal Server Error response:
```json
{
"alerts": [
{
"text": "Internal Server Error",
"level": "error"
}
]
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]