Skip to content

[Bug] Microsoft Dataverse Error while Patch File content into column content #294

@Leonard-Data

Description

@Leonard-Data

Describe the bug

"message": "Error identified in Payload provided by the user for Entity :'', For more information on this error please follow this help link https://go.microsoft.com/fwlink/?linkid=2195293  ---->  InnerException : Microsoft.OData.ODataException: Invalid JSON. A token was not recognized in the JSON content.\r\n   at Microsoft.OData.Json.JsonReader.ParseValue()\r\n   at Microsoft.OData.Json.JsonReader.Read()\r\n   at Microsoft.OData.Json.BufferingJsonReader.ReadInternal()\r\n   at Microsoft.OData.Json.BufferingJsonReader.ReadNextAndCheckForInStreamError()\r\n   at Microsoft.OData.Json.BufferingJsonReader.ReadInternal()\r\n   at Microsoft.OData.JsonLight.ODataJsonLightDeserializer.ReadPayloadStartImplementation(ODataPayloadKind payloadKind, PropertyAndAnnotationCollector propertyAndAnnotationCollector, Boolean isReadingNestedPayload, Boolean allowEmptyPayload)\r\n   at Microsoft.OData.JsonLight.ODataJsonLightDeserializer.ReadPayloadStart(ODataPayloadKind payloadKind, PropertyAndAnnotationCollector propertyAndAnnotationCollector, Boolean isReadingNestedPayload, Boolean allowEmptyPayload, IEdmNavigationSource navigationSource)\r\n   at Microsoft.OData.JsonLight.ODataJsonLightPropertyAndValueDeserializer.ReadTopLevelProperty(IEdmTypeReference expectedPropertyTypeReference)\r\n   at Microsoft.AspNet.OData.Formatter.Deserialization.ODataPrimitiveDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)\r\n   at Microsoft.Crm.Extensibility.ODataV4.CrmODataBinaryTypeDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)\r\n   at Microsoft.AspNet.OData.Formatter.ODataInputFormatterHelper.ReadFromStream(Type type, Object defaultValue, IEdmModel model, ODataVersion version, Uri baseAddress, IWebApiRequestMessage internalRequest, Func`1 getODataRequestMessage, Func`2 getEdmTypeDeserializer, Func`2 getODataPayloadDeserializer, Func`1 getODataDeserializerContext, Action`1 registerForDisposeAction, Action`1 logErrorAction)."

Steps to Reproduce

Using GetEntityFileImageFieldContentWithOrganization and GetEntityFileImageFieldContent in McrosoftDataService.ts

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions