You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
starting with version 1.0.7, http client caching was added and the default version string has changed from empty to 2.0
This will bring up the following exception for version 2 requests like adding a contact to a group (AddContactToGroup).
Microsoft.Skype.UCWA.Models.MethodNotAllowedException: The request isn't supported.
at async Task Microsoft.Skype.UCWA.Services.HttpService.HandleError(HttpResponseMessage response)
at async Task Microsoft.Skype.UCWA.Services.HttpService.ExecuteHttpCallAndRetry(Func<CancellationToken, Task> httpRequest, Func<HttpResponseMessage, T> deserializationHandler, CancellationToken cancellationToken)
at async Task Microsoft.Skype.UCWA.Services.HttpService.Post(string uri, object body, CancellationToken cancellationToken, string version, bool anonymous)
at async Task Microsoft.Skype.UCWA.UCWAClient.AddContactToGroup(string sip, string groupId, CancellationToken cancellationToken)
I have found out that the version string 2.0 has to be changed to 2 or it will be ignored. However, version 1 requests won't work then.
Changing the version back to an empty string and splitting the client caching also by version fixed the problem for me.
Thanks,
Stefan
The text was updated successfully, but these errors were encountered:
Hello,
starting with version 1.0.7, http client caching was added and the default version string has changed from empty to 2.0
This will bring up the following exception for version 2 requests like adding a contact to a group (AddContactToGroup).
Microsoft.Skype.UCWA.Models.MethodNotAllowedException: The request isn't supported.
at async Task Microsoft.Skype.UCWA.Services.HttpService.HandleError(HttpResponseMessage response)
at async Task Microsoft.Skype.UCWA.Services.HttpService.ExecuteHttpCallAndRetry(Func<CancellationToken, Task> httpRequest, Func<HttpResponseMessage, T> deserializationHandler, CancellationToken cancellationToken)
at async Task Microsoft.Skype.UCWA.Services.HttpService.Post(string uri, object body, CancellationToken cancellationToken, string version, bool anonymous)
at async Task Microsoft.Skype.UCWA.UCWAClient.AddContactToGroup(string sip, string groupId, CancellationToken cancellationToken)
I have found out that the version string 2.0 has to be changed to 2 or it will be ignored. However, version 1 requests won't work then.
Changing the version back to an empty string and splitting the client caching also by version fixed the problem for me.
Thanks,
Stefan
The text was updated successfully, but these errors were encountered: