web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Translator V...
Power Automate
Unanswered

Microsoft Translator V3 throws error "Cannot deserialize the current JSON object" intermittently

(0) ShareShare
ReportReport
Posted on by 1,115

I have an excel table which am importing the data into Dataverse table. There are few columns in excel which can be in different language and am trying to convert them into English using Microsoft Translator V3 connector. Somehow the action throws below error intermittently while converting the text.

 

{
 "error": {
 "message": "Cannot deserialize the current JSON object (e.g. {\"name\":\"value\"}) into type 'System.Collections.Generic.List`1[Microsoft.PowerPlatform.ConnectorPlatform.CustomCodeConnector.CSharpScript.InProcess.Script+TranslationResult]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.\r\nTo fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.\r\nPath 'error', line 1, position 9.",
 "stackTrace": [
 "at System.Object CreateObject(Newtonsoft.Json.JsonReader, System.Type, Newtonsoft.Json.Serialization.JsonContract, Newtonsoft.Json.Serialization.JsonProperty, Newtonsoft.Json.Serialization.JsonContainerContract, Newtonsoft.Json.Serialization.JsonProperty, System.Object) : Line 0",
 "at System.Object CreateValueInternal(Newtonsoft.Json.JsonReader, System.Type, Newtonsoft.Json.Serialization.JsonContract, Newtonsoft.Json.Serialization.JsonProperty, Newtonsoft.Json.Serialization.JsonContainerContract, Newtonsoft.Json.Serialization.JsonProperty, System.Object) : Line 0",
 "at System.Object Deserialize(Newtonsoft.Json.JsonReader, System.Type, Boolean) : Line 0",
 "at System.Object DeserializeInternal(Newtonsoft.Json.JsonReader, System.Type) : Line 0",
 "at System.Object DeserializeObject(System.String, System.Type, Newtonsoft.Json.JsonSerializerSettings) : Line 0",
 "at T DeserializeObject[T](System.String, Newtonsoft.Json.JsonSerializerSettings) : Line 0",
 "at T DeserializeObject[T](System.String) : Line 0",
 "at Void MoveNext() : Line 0",
 "at Void Throw() : Line 0",
 "at Void ThrowForNonSuccess(System.Threading.Tasks.Task) : Line 0",
 "at Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) : Line 0",
 "at TResult GetResult() : Line 0",
 "at Void MoveNext() : Line 0",
 "at Void Throw() : Line 0",
 "at Void ThrowForNonSuccess(System.Threading.Tasks.Task) : Line 0",
 "at Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) : Line 0",
 "at TResult GetResult() : Line 0",
 "at Void MoveNext() : Line 0"
 ]
 }
}

 

Action Inputs below. Similar text in other rows of the excel table is able to convert without any error. Couldn't figure what is going wrong here.

RameshMukka_0-1695788881325.png

The action configuration below.

RameshMukka_1-1695789009049.png

Really appreciate the help form community members. Thanks a lot in advance.

 

Regards,

Ramesh

Categories:
I have the same question (0)
  • rameshmukka Profile Picture
    1,115 on at

    Please help members!!

  • Avni Profile Picture
    3 on at

    Hi,

    I faced this issue recently and at my end, issue was with configuration of connection. In the Azure Cognitive Service Connection -> Microsoft Translator V3 connection, I had used API endpoint instead of using the azure resource name. Once i provided the actual name of resource instead of API endpoint, it started working.

     

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard