After connecting to the vCenter in powershell and running a get-tag command, the following error is prompted.
Get-Tag: mm/dd/yyyy hh:mm:ss pm Get-Tag com.vmware.vapi.std.errors.internal_server_error {'messages': [com.vmware.vapi.std.localized_message {'id': com.vmware.vapi.endpoint.badGateway, 'default_message': The endpoint, while acting as a gateway, received an invalid response from an upstream server it accessed while attemtping to fulfill the request., 'args': {}, 'params': , 'localized':}}, 'data': , 'error_type': INTERNAL_SERVER_ERROR}
vCenter 8.x
Depending on the amount of data collection and latency on the network, retrieving the data may take longer than the default vapi session timeout (10seconds).
As a workaround, increase the vapi session timeout value by adding the property: