cloudfoundry-community / cloudfoundry-community/cf-python-client

BAD_REQUEST = {"description": "Service broker failed to delete service binding for instance cloud-logging: This service plan requires client support for asynchronous service operations.", "error_code": "CF-AsyncRequired", "code": 10001, "http": {"method": "DELETE", "status": 422}}

Open
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
55
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I am using the python client to delete service key:

v2.service_keys.remove(service_key['metadata']['guid'])

but I am getting the following error:

BAD_REQUEST = {"description": "Service broker failed to delete service binding for instance cloud-logging: This service plan requires client support for asynchronous service operations.", "error_code": "CF-AsyncRequired", "code": 10001, "http": {"method": "DELETE", "status": 422}} - vcap-request-id = 75a9acc8-62bc-4970-7693-aa7c4bd818ed::2ee28c24-3dfd-40f6-8284-e0b8faa85cac

Is there there solution for asynchronous support ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the v2.service_keys.remove(service_key['metadata']['guid']) entry point and trace how DELETE responses and the CF-AsyncRequired error are handled. Determine the expected asynchronous behavior for service-key deletion and confirm that the client handles this service-broker response successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.