AccountsAPINGException has UUID with 33 chars?!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexreg
    Junior Member
    • Jun 2016
    • 6

    #1

    AccountsAPINGException has UUID with 33 chars?!

    I'm getting a UUID with 33 chars in some exceptions. This is clearly invalid and goes against the UUID RFC. Perhaps the hyphenation is weird?

    Example:

    UUID: prdaan-2882a1-04301100-003735a10b

    Response JSON:
    {"jsonrpc":"2.0","error":{"code":-32099,"message":"AANGX-0010","data":{"AccountAPINGException":{"errorDetai ls":"","errorCode":"NO_SESSION","requestUUID":"prd aan001-06151309-0011b97b0e"},"exceptionname":"AccountAPINGExceptio n"}},"id":1}
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    I think I'd be more concerned with the NO_SESSION errorCode. Put that right and the rest should follow.

    NO_SESSION A session token header ('X-Authentication') has not been provided in the request

    Comment

    • alexreg
      Junior Member
      • Jun 2016
      • 6

      #3
      That’s no problem, I’m deliberately missing out the session token to get this error. I’m more concerned about this UUID being malformed.

      Comment

      • jabe
        Senior Member
        • Dec 2014
        • 705

        #4
        Originally posted by alexreg View Post
        That’s no problem, I’m deliberately missing out the session token to get this error. I’m more concerned about this UUID being malformed.
        Fair do. I can't find where it mentions a format for it, though I did see an example in the PDF with a couple of hyphens in it.
        Last edited by jabe; 10-07-2016, 07:48 PM.

        Comment

        • alexreg
          Junior Member
          • Jun 2016
          • 6

          #5
          Yeah. I thought it would be formatted like a standard UUID (like the library I use expects). Anyway, thanks for the reply.

          Comment

          Working...
          X