Skip to content

EnableCapability 405 Error #11

@wave2588

Description

@wave2588

Code:

resp, _, err := c.client.Provisioning.EnableCapability(ctx, capabilityType, []asc.CapabilitySetting{}, bundleID)

Response Error:

PATCH https://api.appstoreconnect.apple.com/v1/bundleIdCapabilities: 405
* 405 METHOD_NOT_ALLOWED – The request method is not valid for the resource path.
        The request method used for this request is not valid for the resource path. Please consult the documentation.

The apple api documentation says Post method,asc-go why is patch method?

https://developer.apple.com/documentation/appstoreconnectapi/enable_a_capability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions