locked
I keep getting an error with the translator API from Microsof. ID RRS feed

  • Question

  • I tried to copy and paste the user and key twice but still getting the error. I'm subscribed to the API translator free.

    Please help.

    Error getting translations, SimpleXMLElement Object ( [0] => Method: TranslateArray() ) 

    TranslateApiException

    Method: TranslateArray()

    Message: Cannot find an active Azure Market Place Translator Subscription associated with the request credentials.

    message id=0818.V2_Rest.TranslateArray.51375C8F




    Thursday, January 9, 2014 4:18 PM

Answers

  • Hi there,

    you can try two things:

    1) to test your Azure Market Place subscription, you could use the sample code provided here:

    - http://msdn.microsoft.com/en-us/library/ff512438.aspx

    Enter your personal id/secret to the following line:

                AdmAuthentication admAuth = new AdmAuthentication("clientId", "client secret");

    Then re-build the example and check if the program runs as expected.

    2) you could post your code which calls TranslateArray() here -- it is impossible to tell what causes the error without seeing your code ;)

    Please replace your personal id/secret with "clientId", "client secret" when posting!

    Hope that helps,

       Christian Federmann

       Microsoft Translator Team

    Monday, January 13, 2014 4:07 AM