Problem with Document ID and INSERT on N1QL?

You can use the UUID() function to generate a unique value.