Error
'>' is an unexpected token
Cause
When connecting to Exchange Web Services (EWS) you might be redirected to another page such as an OWA web page.
Instead of receiving a web service XML payload, we received an HTLM payload which resulted in this "unexpected token" error. This typically indicates that the server does not implement EWS and that we are unable to authenticate to the server.
Resolution
We recommend the following:
- Review the error message to determine if the error originates from the source or destination.
- Check the Exchange version used by the corresponding source or destination Exchange endpoint.
- If it is Exchange 2003, EWS is expected to be unavailable. Check credentials by logging in to OWA.
- If it is Exchange 2007, 2010, 2013, or 2016, EWS is expected to be available. Check EWS access by performing the following: