[tests-only][full-ci] update error message in json response when user invite themselves to federated connection