CF-ServiceFetchInstanceParametersNotSupported(120004): This service does not support fetching service instance parameters
search cancel

CF-ServiceFetchInstanceParametersNotSupported(120004): This service does not support fetching service instance parameters

book

Article ID: 420171

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

When attempting to retrieve detailed configuration parameters for a Spring Cloud Services Config Server instance using the Java API (or similar API clients), the request fails. Users typically attempt this operation to programmatically audit or inspect service instance details, such as:

  • Git repository URIs
  • Vault parameters
  • Encryption keys
  • General configuration metadata

During this fetch operation, the Cloud Controller rejects the request with the following error code and message:

Error: CF-ServiceFetchInstanceParametersNotSupported(120004): This service does not support fetching service instance parameters.

Cause

This error occurs because the Config Server service offering (p.config-server) explicitly disables the ability to retrieve instance parameters via the Cloud Controller API.

Specifically, the property instances_retrievable is set to false within the service broker's feature catalog. This is a deliberate design choice implemented for security considerations, ensuring that sensitive configuration data (such as credentials and encryption keys) is not exposed through standard API fetch requests.

Resolution

There is no workaround to enable parameter fetching for this service. The instances_retrievable property is hardcoded within the service broker and cannot be configured or overridden via the Spring Cloud Services tile or the Operations Manager.

You can verify that this feature is disabled for the p.config-server service offering by running the following command in the CF CLI. The output will confirm that instances_retrievable is set to false

cf curl "/v3/service_offerings" | jq '.resources[]| select(.name == "p.config-server") | .broker_catalog.features'

{
  "plan_updateable": false,
  "bindable": true,
  "instances_retrievable": false,
  "bindings_retrievable": false,
  "allow_context_updates": false
}