Getting an EWS Failure error - unable to obtain callback token
See original GitHub issueI know this is similar to other issues, but I didn’t see any resolution on them. I’m the Exchange admin. New 2016 install. No proxy between workstation and server. Same error from Outlook for Windows and OWA.
Requirement set = 1.6
API used = EWS
contentLanguage = en-US
displayLanguage = en-US
hostname = Outlook
hostVersion = 16.0.11425.20204
itemId = true
itemType = message
itemClass = IPM.Note
permissions = 3
ERROR: Unable to obtain callback token.
Fallback to EWS.
{
"value": null,
"status": "failed",
"error": {
"name": "InternalServerError",
"message": "The Exchange server returned an error. Please look at the diagnostics object for more information.",
"code": 9042
},
"diagnostics": {
"ErrorText": "The token for this extension could not be retrieved."
}
}
Anonymous function()@https://mha.azurewebsites.net/Scripts/GetHeadersRest.js:37:17
Anonymous function()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:183743
Anonymous function()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:175387
agaveResponseCallback():1:6425
window.agaveHostCallback():1:8327
ERROR: Async Response
{
"value": "",
"status": "succeeded"
}
callbackEws()@https://mha.azurewebsites.net/Scripts/GetHeadersEWS.js:80:17
Anonymous function()@https://mha.azurewebsites.net/Scripts/GetHeadersEWS.js:47:13
t.onreadystatechange()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:189638
r.EwsRequest.prototype._callOnReadyStateChangeCallback$i$1()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:307185
Anonymous function()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:315041
ERROR: Original Response
{
"wasProxySuccessful": true,
"errorMessage": null,
"body": "",
"error": false
}
callbackEws()@https://mha.azurewebsites.net/Scripts/GetHeadersEWS.js:84:17
Anonymous function()@https://mha.azurewebsites.net/Scripts/GetHeadersEWS.js:47:13
t.onreadystatechange()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:189638
r.EwsRequest.prototype._callOnReadyStateChangeCallback$i$1()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:307185
Anonymous function()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:315041
ERROR: EWS callback failed : Failed to retrieve headers.
callbackEws()@https://mha.azurewebsites.net/Scripts/GetHeadersEWS.js:75:17
Anonymous function()@https://mha.azurewebsites.net/Scripts/GetHeadersEWS.js:47:13
t.onreadystatechange()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:189638
r.EwsRequest.prototype._callOnReadyStateChangeCallback$i$1()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:307185
Anonymous function()@https://appsforoffice.microsoft.com/lib/1.1/hosted/outlook-win32-16.02.js:15:315041```
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
PHP EWS using Callback Token - Stack Overflow
Has anyone had any luck authenticating for a EWS SOAP request from PHP using the EWS Callback token instead of a username /...
Read more >Internal Server Error connecting to O365 Exchange using OAuth
In all cases, the error occurs when accessing an O365 mailbox using EWS with app-only OAuth authentication. Eventually, after a while (usually ...
Read more >Exchange Gateway EWS Connector Auto Discover Error - NET
In RightFax, when using the RightFax Exchange Gateway and EWS Connector with OAuth, results in the following error message. Token acquired. Token acquired....
Read more >Resolve API Gateway REST API 403 “Missing Authentication ...
When I try to invoke my Amazon API Gateway REST API, I get 403 "Missing Authentication Token" error messages. How do I troubleshoot...
Read more >How to configure OAuth2 authentication in RSSO for RESTAPI ...
Once the authorization is confirmed, you will get the oauth2 token generated. ... If the error, A user name must be supplied in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good call @tivrobo . Thanks for jumping in! I wonder if I/MHA could have deduced this was the problem and put up appropriate text for the user…
@mmahacek, check that you don’t have expired Microsoft Exchange Server Auth Certificate If this is the case - you just need to update it. See this post for how-to: http://byronwright.blogspot.com/2018/05/expired-microsoft-exchange-server-auth.html Cheers!