cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1056
Views
3
Helpful
2
Replies

Limit of UUID digits

Ken.T
Level 1
Level 1

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?

2 Replies 2

aradford
Cisco Employee
Cisco Employee

What was the API call you made to get this?

can you share the URL please?

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')

>>>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


This community is intended for developer topics around Data Center technology and products. If you are looking for a non-developer topic about Data Center, you might find additional information in the Data Center and Cloud community