none
Unable to deserialize XML body with root name 'translatearrayrequest' and root namespace RRS feed

  • Question

  • Could anyone help me understand this error response? 

    requestDetails:
    <translatearrayrequest>
    <appid/>
    <from/>
    <texts>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">Hello%21+World</string>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">This+is+a+test+string.+</string>
    <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">For+example%2C+we+have+translated+some+or+all+of+the+information+on+this+page+with+machine+translation+software+so+some+of+the+translations+may+not+be+entirely+correct</string>
    </texts>
    <to>it</to>
    </translatearrayrequest>

    responseCode:400

    response:Unable to deserialize XML body with root name 'translatearrayrequest' and root namespace '' (for operation 'TranslateArray' and contract ('LanguageService',  'http://api.microsofttranslator.com/V2')) using DataContractSerializer. Ensure that the type corresponding to the XML is added to the known types collection of the service.

    uri:https://api.microsofttranslator.com/V2/Http.svc/TranslateArray

    Thank you!

    Thursday, April 27, 2017 5:11 PM

All replies

  • This question should go to Machine Translation and Language Tools -> Microsoft Translator Developer & Web Master Support


    Thursday, April 27, 2017 5:54 PM
  • Hi fagc10,

    Welcome to the MSDN forum.

    Refer to your description, it looks like your issue is about the Microsoft Translator API service. Please have a look at this: Microsoft Translator Feedback and Support has Moved To Uservoice. This forum is closed. and we can know the following information:

    **Do you have questions or feedback about the Microsoft Translator API service, the Translator Hub, or the Translator Web Widget? You can now submit them to our new UserVoice site at translatorbusiness.uservoice.com

    According to the above message, please redirect to the new UserVoice site: translatorbusiness.uservoice.com and start a new thread for your issue, you will get a more professional support from there, thank you for your understanding.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, April 28, 2017 3:00 AM