Hello,
I get an exception in AutoRest client when trying to Generate Password Reset Token:
- VC Storefront at 6.16.0 · VirtoCommerce/vc-storefront@dcc5da5 · GitHub
VC Platform 3.306.0
Fails in class VirtoCommerce.Storefront.AutoRestClients.PlatformModuleApi.Security
Method public async Task<HttpOperationResponse<string>> GeneratePasswordResetTokenWithHttpMessagesAsync(string userId, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
Newtonsoft.Json.JsonReaderException
HResult=0x80131500
Message=Unexpected character encountered while parsing value: C. Path '', line 1, position 1.
Source=Newtonsoft.Json
StackTrace:
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject[T](String json, JsonSerializerSettings settings)
at VirtoCommerce.Storefront.AutoRestClients.PlatformModuleApi.Security.<GeneratePasswordResetTokenWithHttpMessagesAsync>d__43.MoveNext() in C:\sherian\Market\src\virto\vc-storefront\VirtoCommerce.Storefront\AutoRestClients\PlatformModuleApi.cs:line 13431
This exception was originally thrown at this call stack:
[External Code]
VirtoCommerce.Storefront.AutoRestClients.PlatformModuleApi.Security.GeneratePasswordResetTokenWithHttpMessagesAsync(string, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>>, System.Threading.CancellationToken) in PlatformModuleApi.cs