locked
Problem with Microsoft translator API

    Question

  • Hello.

    I register apllication on Azure, make subscription. Give code example here:

    http://msdn.microsoft.com/en-us/library/ff512421.aspx#phpexample

    All was fine. But now I get error when try to translate somthing.

    $curlResponse = $translatorObj->curlRequest($translateUrl, $authHeader);

    this return 

    Method: Translate()
    
    Parameter:
    
    Message: Signature verification of the incoming token failed.
    
    message id=0340.V2_Rest.Translate.46E96405

    this code

        $accessToken  = $authObj->getTokens($grantType, $scopeUrl, $clientID, $clientSecret, $authUrl);
    

    return

    http%3a%2f%2fschemas.xmlsoap.org%2fws%2f2005%2f05%2fidentity%2fclaims%2fnameidentifier=3013bf13-bf7a-4e26-8fc7-9f3fc4aabd66&http%3a%2f%2fschemas.microsoft.com%2faccesscontrolservice%2f2010%2f07%2fclaims%2fidentityprovider=https%3a%2f%2fdatamarket.accesscontrol.windows.net%2f&Audience=http%3a%2f%2fapi.microsofttranslator.com&ExpiresOn=1346474130&Issuer=https%3a%2f%2fdatamarket.accesscontrol.windows.net%2f&HMACSHA256=q6dCk153qIlmNLORSW7fHfawqakPbGZYJcXQvZJXGw0%3d

    What can be a reason of error?

    Saturday, September 1, 2012 4:29 AM

Answers

All replies

  • It is a problem with our service. Understood and currently being worked on.

    Your Microsoft Translator team

    Saturday, September 1, 2012 4:32 AM
  • Yes, now it works. Thank you.
    Saturday, September 1, 2012 5:03 AM
  • Resolved at 21:33.

    Our sincere apologies for the disrution to you and your customers.

    Your Microsoft Translator team

    Saturday, September 1, 2012 5:38 AM