TranslateArray not working anymore (error: No bearer information found in the token)

Proposed TranslateArray not working anymore (error: No bearer information found in the token)

모든 응답

  • 2012년 6월 13일 수요일 오후 12:21
     
      코드 있음

    It looks like it is not able to get the access token.

    I am getting

    {"error":"invalid_request","error_description":"ACS90007: Request method not allowed.
  • 2012년 6월 13일 수요일 오후 3:08
     
     제안된 답변

    The Bing App ID methodology has been deprecated. You'll need to sign up with the Windows Azure Data market for a (free) translator account -- details here:

    http://blogs.msdn.com/b/translation/p/gettingstarted1.aspx

    Then, to use translation in PHP, you could do something like this:

    http://blogs.msdn.com/b/translation/p/phptranslator.aspx

    Hope that helps! :)

  • 2012년 6월 13일 수요일 오후 10:18
     
     

    Thanks for the reply, but I am aware of the new change, and if you look at the URL I posted, it has the same example as the page you linked (your link is likely a copy of the official msdn link I posted).

    It was working just fine for a couple of weeks, and not just stopped authenticating.

  • 2012년 6월 14일 목요일 오후 4:45
     
     제안된 답변

    Can you let me know on which line you get the error? Is this when you are calling the AdmAuthentication service to get the token, or is it when you're passing the token to the translator API?

    I saw this thread from someone that had a similar issue and the same failure code -- and they were working behind a proxy that changed some of the headers to cause it. Could that be the case here? http://social.msdn.microsoft.com/Forums/en-US/windowsazuresecurity/thread/749596ea-0dc1-4cd1-b125-fbbf17d0b73f

    Laurence

  • 2012년 6월 18일 월요일 오후 4:22
     
     

    Thanks Laurence, it may have been the issue, I was abroad and now that I'm back home it seems to be working fine.

  • 2012년 7월 26일 목요일 오후 2:05
     
     
    Awesome! Glad it's working now!