Access_token error“消息:Web令牌最后必须有签名。传入令牌在令牌末尾没有签名。“ [英] Access_token error "Message: The Web Token must have a signature at the end. The incoming token did not have a signature at the end of the token."

查看:116
本文介绍了Access_token error“消息:Web令牌最后必须有签名。传入令牌在令牌末尾没有签名。“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是MS Translator API的新手。我通过MSXML2在MS Access VBA中访问它。它在过去的几天里一直很好用。今天早上我收到了"消息:Web令牌必须在最后签名。传入令牌在令牌末尾没有
签名。"错误。特别奇怪的是,我在调用翻译功能时收到错误,但Speak功能仍然正常,即使他们使用相同的代码来获取令牌。 有
如何改变access_token结构化? 

I' new to the MS Translator API. I'm accessing it in MS Access VBA via MSXML2. It's been working perfectly for the last few days. This morning I received the "Message: The Web Token must have a signature at the end. The incoming token did not have a signature at the end of the token." error. What's particularly strange is that I receive the error when calling the Translate function, but the Speak function still works fine even though they use the same code to get a token. Has anything changed in how the access_token is structured? 

这是令牌的样子:

http%3a%2f%2fschemas.xmlsoap.org%2fws%2f2005 %2f05%2fidentity%2fclaims%2fnameidentifier = TranslateAccessVBA\\\&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 = 1366728836\\\&Issuer = HTTPS%3A%2F%2fdatamarket.accesscontrol.windows.net%2f\\\&HMACSHA256 =%2bJKtNV2fmEHSCmk8sfEs1U9j1OpfeKf18vg9Cf8vk%2FE%3D

http%3a%2f%2fschemas.xmlsoap.org%2fws%2f2005%2f05%2fidentity%2fclaims%2fnameidentifier=TranslateAccessVBA\u0026http%3a%2f%2fschemas.microsoft.com%2faccesscontrolservice%2f2010%2f07%2fclaims%2fidentityprovider=https%3a%2f%2fdatamarket.accesscontrol.windows.net%2f\u0026Audience=http%3a%2f%2fapi.microsofttranslator.com\u0026ExpiresOn=1366728836\u0026Issuer=https%3a%2f%2fdatamarket.accesscontrol.windows.net%2f\u0026HMACSHA256=%2bJKtNV2fmEHSCmk8sfEs1U9j1OpfeKf18vg9Cf8vk%2fE%3d

谢谢,

  Greg

 Greg

推荐答案

嗨格雷格,

讨论
这里
有用吗?  告诉我们。  感谢。   Microsoft Translator Team

Would the discussion here be useful?  Let us know.  Thanks.  Microsoft Translator Team


这篇关于Access_token error“消息:Web令牌最后必须有签名。传入令牌在令牌末尾没有签名。“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆