AMBARI-6778. API for controllers returns 500 error.