Listeners not configured with max_connections will cause the cluster /listeners API to return 500 error.
max_connections
/listeners