microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)Anonymous Request Disallowed

Stack Overflow | JitterbugChew | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    EWS Java API: Default credentials don't connect, but no error produced?

    Stack Overflow | 7 months ago | JitterbugChew
    microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)Anonymous Request Disallowed

    Root Cause Analysis

    1. microsoft.exchange.webservices.data.core.exception.http.HttpErrorException

      The remote server returned an error: (401)Anonymous Request Disallowed

      at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse()
    2. microsoft.exchange.webservices
      Folder.bind
      1. microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:723)
      2. microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:639)
      3. microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:62)
      4. microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)
      5. microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder(ExchangeService.java:504)
      6. microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder(ExchangeService.java:523)
      7. microsoft.exchange.webservices.data.core.service.folder.Folder.bind(Folder.java:98)
      8. microsoft.exchange.webservices.data.core.service.folder.Folder.bind(Folder.java:147)
      8 frames
    3. Unknown
      test.main
      1. test.main(test.java:25)
      1 frame