Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnableCapability 405 Error #11

Open
wave2588 opened this issue Jun 28, 2023 · 1 comment
Open

EnableCapability 405 Error #11

wave2588 opened this issue Jun 28, 2023 · 1 comment

Comments

@wave2588
Copy link

wave2588 commented Jun 28, 2023

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

@sentient
Copy link

Is this the clone with the fix?

https://github.com/wave2588/asc-go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants