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}}
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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