java.lang.IllegalArgumentException: 'authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)

Stack Overflow | Vikram | 6 months ago
  1. 0

    azure java sdk authentication

    Stack Overflow | 6 months ago | Vikram
    java.lang.IllegalArgumentException: 'authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)
  2. 0
    This happened when I tried to insert an empty list of elements to a collection.
  3. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      'authority' Uri should have at least one segment in the path (i.e. https://<host>/<path>/...)

      at com.microsoft.aad.adal4j.AuthenticationAuthority.detectAuthorityType()
    2. com.microsoft.aad
      AuthenticationAuthority.<init>
      1. com.microsoft.aad.adal4j.AuthenticationAuthority.detectAuthorityType(AuthenticationAuthority.java:190)
      2. com.microsoft.aad.adal4j.AuthenticationAuthority.<init>(AuthenticationAuthority.java:73)
      2 frames