I have downloaded and installed Kong community 1.1.0 version and whenever I am trying to delete the upstream, it throws below error.
HTTP/1.1 400 Bad Request
{“message”:“an existing ‘targets’ entity references this ‘upstreams’ entity”,“name”:“foreign key violation”,“fields”:{"@referenced_by":“targets”},“code”:4}
Similar issue existed in previous community versions(1.0.3) . I saw that they have given a patch and resolved the issue in the GitHub Kong 1.0.3 source code but it still exists in Kong community 1.1.0 deb release.
The debian and docker assets are functionally identical as they’re built from the same code, installed into a temporary directory and then packages into a .deb / tag.gz.
I also haven’t seen similar bug reports to this. When Kong fails to delete the upstream is there anything relevant in Kong / postgres logs?