---
name: containers-ts-storage-object-pvc-fails-s3fs-iam-ep
title: Why do I see wrong s3fs or IAM API endpoints when I create a PVC?
description: '[Virtual Private Cloud] [Classic infrastructure]'
last-updated: 2026-04-15
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/containers?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Why do I see wrong s3fs or IAM API endpoints when I create a PVC?
{: #cos_api_endpoint_failure}
{: support}

[Virtual Private Cloud]{: tag-vpc} [Classic infrastructure]{: tag-classic-inf}




When you create the PVC, the PVC remains in a pending state. After you run the `kubectl describe pvc <pvc_name>` command, you see one of the following error messages:
{: tsSymptoms}

```sh
Bad value for ibm.io/object-store-endpoint XXXX: scheme is missing. Must be of the form http://<hostname> or https://<hostname>
```
{: screen}

```sh
Bad value for ibm.io/iam-endpoint XXXX: scheme is missing. Must be of the form http://<hostname> or https://<hostname>
```
{: screen}


The s3fs API endpoint for the bucket that you want to use might have the wrong format, or your cluster is deployed in a location that is supported in IBM Cloud Kubernetes Service but is not yet supported by the IBM Cloud Object Storage plug-in.
{: tsCauses}

Complete the following steps:
{: tsResolve}

1. Check the s3fs API endpoint that was automatically assigned by the `ibmc` Helm plug-in to your storage classes during the IBM Cloud Object Storage plug-in installation. The endpoint is based on the location that your cluster is deployed to.
    ```sh
    kubectl get sc ibmc-s3fs-standard-regional -o yaml | grep object-store-endpoint
    ```
    {: pre}

    If the command returns `ibm.io/object-store-endpoint: NA`, your cluster is deployed in a location that is supported in IBM Cloud Kubernetes Service but is not yet supported by the IBM Cloud Object Storage plug-in. To add the location to the IBM Cloud Kubernetes Service, post a question in Slack or open an IBM Cloud support case. For more information, see [Getting help and support](https://cloud.ibm.com/docs/containers?topic=containers-getting_help_storage&format=markdown).

2. If you manually added the s3fs API endpoint with the `ibm.io/endpoint` annotation or the IAM API endpoint with the `ibm.io/iam-endpoint` annotation in your PVC, make sure that you added the endpoints in the format `https://<s3fs_api_endpoint>` and `https://<iam_api_endpoint>`. The annotation overwrites the API endpoints that are automatically set by the `ibmc` plug-in in the IBM Cloud Object Storage storage classes.
    ```sh
    kubectl describe pvc <pvc_name>
    ```
    {: pre}