Symptom
We have getting error(System Message) in Integration Builder that
Http connection to http://server:port/sap/xi/cache?sap-client=client
return status code ‘500’(Internal Server Error) in response.
INTEGRATION_DIRECTORY_HMI destination is working fine and Runtime cache is also having green status.
Solution
Go to PFCG transaction and generate the profile of role SAP_XI_ID_SERV_USER.
Check profile for user PIDIRXXX.