Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Microsoft Translate

$
0
0

MSP 2010

I have a routine I have previously posted here on this site for translating English Task Names to Chinese. I'll edit to post that link:

Using Translate

Anyway, it was working fine. I didn't change anything, but wrote a new caller to reverse the process (xlate Chinese to English...sometimes hilarious....) Now, it doesn't work. I get the following message:

Translation Completed / Argument Exception: The Web Token must have a signature at the end. The incoming token did not have a signature at the end of the token. : ID=0335.V2_Json.Translate.1A4A9470

I went back and executed the original code -- same result. Here's the token:

{"token_type":"http://schemas.xmlsoap.org/ws/2009/11/swt-token-profile-1.0","access_token":"http%3a%2f%2fschemas.xmlsoap.org%2fws%2f2005%2f05%2fidentity%2fclaims%2fnameidentifier=

MPPXlate&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=

1341996216&Issuer=https%3a%2f%2fdatamarket.accesscontrol.windows.net%2f&HMACSHA256=

y5tRNItBC36t0I%2bk3SGAzVkSHvfFs4v%2fsvVszj02V%2fw%3d","expires_in":"599","scope":"http://api.microsofttranslator.com"}

I can post the code again (though I need to obfuscate my authentication information.) Again, I changed nothing, and get no other errors as I step through the code.


Jim




Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>