Trying to create like using Rest Api POST api.ashx/v2/likes.xml (or .json) giving errors as below , we included contentid,contenttypeid,and also contentUrl
{"Like":null,"Info":[],"Warnings":[],"Errors":["Either ContentUrl or ContentId and ContentTypeId are required."]}
Found these Exceptions on community Exception Log
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: C. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, 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 Telligent.Evolution.Rest.Infrastructure.RestJsonSerializer.ReadRequest(HttpRequestBase request, Type requestModel) at Telligent.Evolution.Rest.Infrastructure.CreateRequestStrategy.GetRequestModel(RequestContext context, IActionBinding binding) at Telligent.Evolution.Rest.Infrastructure.ActionDispatcher.ProcessRequest(RequestContext context, IActionBinding binding)
we are on 11.1.0.9731 .
Thanks,
Satish kumar
edited
[edited by: Satish Kumar Polampalli at 12:28 PM (GMT 0) on Wed, Dec 2 2020]