01-17-2018 02:42 AM - edited 03-01-2019 04:42 AM
Hi
I'd like to know about limit of UUID digits.
I sometimes find below response.
"detail:2ace3214-4741-4432-8ab7-2068edc2bec54 does not conform to expected UUID pattern"
Is there any rules of UUID?
01-17-2018 10:19 AM
What was the API call you made to get this?
can you share the URL please?
01-17-2018 02:53 PM
Looks like you added an extra digit somehow? did you cut and paste this?
the '4' is an extra digit.
>>> uuid_obj=UUID('2ace3214-4741-4432-8ab7-2068edc2bec54')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/uuid.py", line 136, in __init__
raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID string
>>> uuid_obj=UUID('2ace3214-4741-4432-8ab7-2068edc2bec5')
>>>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide