When a non-admin user calls the /v3/service_plans endpoint with a space_guids filter, the bindable and plan_updateable fields inside broker_catalog.features are returned as integers (1/0) instead of booleans (true/false).
search cancel

When a non-admin user calls the /v3/service_plans endpoint with a space_guids filter, the bindable and plan_updateable fields inside broker_catalog.features are returned as integers (1/0) instead of booleans (true/false).

book

Article ID: 447489

calendar_today

Updated On:

Products

VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

When a non-admin user calls the /v3/service_plans endpoint with a space_guids filter, the bindable and plan_updateable fields inside broker_catalog.features are returned as integers (1/0) instead of booleans (true/false).

cf curl "/v3/service_plans?&names=small&service_offering_names=kafka&space_guids=84139892-xxxx-xxxx-xxxx-439572xxxxxx"
{
  "pagination": {
    "total_results": 1,
    "total_pages": 1,
    "first": {
      "href": "https://api.sys.xxxx.com/v3/service_plans?names=small&page=1&per_page=50&service_offering_names=kafka&space_guids=84139892-xxxx-xxxx-xxxx-439572xxxxxx"
    },
    "last": {
      "href": "https://api.sys.xxxx.com/v3/service_plans?names=small&page=1&per_page=50&service_offering_names=kafka&space_guids=84139892-xxxx-xxxx-xxxx-439572xxxxxx"
    },
    "next": null,
    "previous": null
  },
  "resources": [
    {
      "guid": "176e1e01-xxxx-xxxx-xxxx-3f145efxxxxxx",
      "created_at": "2026-06-22T14:16:13Z",
      "updated_at": "2026-06-23T09:37:32Z",
      "name": "small",
      "visibility_type": "public",
      "available": true,
      "free": true,
      "costs": [],
      "description": "Small Kafka cluster with 1 broker",
      "maintenance_info": {},
      "broker_catalog": {
        "id": "small",
        "metadata": {
          "bullets": [
            "1 Kafka broker",
            "1 Kafka controller",
            "10Gi storage"
          ],
          "displayName": "small"
        },
        "maximum_polling_duration": 300,
        "features": {
          "bindable": 1,   <---- Here
          "plan_updateable": 1 <--- Here

Environment

Elastic Application Runtime (EAR) 10.x.x.

Cause

This issue only occurs when :

  • Service broker sets bindable at the plan level (overriding service level).
  • User is non-admin user.
  • EAR uses MySQL.
  • When user calls api that uses space guid filters.
cf curl "/v3/service_plans?&names=small&service_offering_names=kafka&space_guids=84139892-xxxx-xxxx-xxxx-43957xxxxxx
or
GET /v3/service_plans?names=<name>&service_offering_names=<offering>

 

So the API will return an integer instead of a boolean for certain fields (bindable, plan_updateable) .

Resolution

Fix will be available in the future patch release of Elastic Application Runtime.