Skip to content

Unable to create Service which need CF-AsyncRequired(10001) #192

Description

@WorkAlexGahr

Certain services like creating a Database need asyncronuous crreation.

If user via:

ServiceInstances.create({
			name: 'xxx-example',
			service_plan_guid: plan.metadata.guid,
			space_guid: space.metadata.guid
		});

The api will give an error with:

unhandled rejection {
  "description": "This service plan requires client support for asynchronous service operations.",
  "error_code": "CF-AsyncRequired",
  "code": 10001,
  "http": {
    "uri": "xxxxx",
    "method": "PUT",
    "status": 422
  }
}

This could be fixed by providing the parameter url parameter accepts_incomplete. (see documentation https://apidocs.cloudfoundry.org/226/service_instances/creating_a_service_instance.html).

Can this be fixed can the parameter be supported?
Regards
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions