Unable to create class with GUIDs

Hi there I creating my collection depending upon my database names, but I am unable to I am getting this error:
names I am trying to set : 83cdb7b2569a428095e38b73e8348168
other : 83cdb7b2-569a-4280-95e3-8b73e8348168

raise UnexpectedStatusCodeError(error_msg, response=res)
weaviate.exceptions.UnexpectedStatusCodeError: Collection may not have been created properly.! Unexpected status code: 422, with response body: {‘error’: [{‘message’: “‘83cdb7b2569a428095e38b73e8348168’ is not a valid class name”}]}.

Hi!

The collection cannot start with a number nor have - or _

Try this instead:

“collection_83cdb7b2-569a-4280-95e3-8b73e8348168”

Let me know if this works!

Thanks!

1 Like

it worked, thanks a lot

1 Like