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

GitHub | amolthorat1991 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 475#242277324

    GitHub | 8 months ago | amolthorat1991
    microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (401)Unauthorized
  2. 0

    Response didn't contain valid xml error in ews-java-api

    Stack Overflow | 1 year ago | ak31
    microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The response received from the service didn't contain valid XML.
  3. 0

    GitHub comment 4#242772419

    GitHub | 8 months ago | kabhimanyu
    microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

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

      The remote server returned an error: (401)Unauthorized

      at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse()
    2. microsoft.exchange.webservices
      EmailMessage.send
      1. microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:725)
      2. microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:646)
      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.internalCreateItems(ExchangeService.java:598)
      6. microsoft.exchange.webservices.data.core.ExchangeService.createItem(ExchangeService.java:657)
      7. microsoft.exchange.webservices.data.core.service.item.Item.internalCreate(Item.java:245)
      8. microsoft.exchange.webservices.data.core.service.item.EmailMessage.internalSend(EmailMessage.java:147)
      9. microsoft.exchange.webservices.data.core.service.item.EmailMessage.send(EmailMessage.java:258)
      9 frames
    3. mailservice
      MSExchangeEmailService.main
      1. mailservice.MSExchangeEmailService.main(MSExchangeEmailService.java:211)
      1 frame