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

SwiftClientObject.DeleteObjects method fails with "method not allowed" error. #9

Open
rfeezel opened this issue Sep 30, 2018 · 0 comments

Comments

@rfeezel
Copy link

rfeezel commented Sep 30, 2018

The DeleteObjects method specified "HttpMethod.Delete" when trying to make a "bulk-delete" request. According to the documentation this should be "HttpMethod.Post".

After changing to use POST the call fails with:
https://hostname.com/v1/AUTH_photoapp?bulk-delete Error: System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

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

1 participant