ADF error while trying to load data from Azure Storage to CosmosDB RRS feed

  • Question

  • I am trying to load a flat file from Azure Blob to Cosmos DB by converting the fields into JSON using a custom activity. There are some transformations also involved like renaming some fields, adding some fields etc. When I am running it in my local, it is working fine and able to load the data into CosmosDB. But when I deploy the custom activity and try to run it from Data Factory, getting the following error:

    'Newtonsoft.Json.Linq.JValue' in Assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' is not marked as serializable.

    Can someone please help me with this issue?

    Tuesday, February 13, 2018 6:11 AM