Rank 1: Thread
in Flutter App i have a class, let's call it the car class.
i create a new Car:
Car(
id: ID.unique(),
created: true,
)
and on other place there is a function which is called:
if car.created == true:
...databases.createDocument(
databaseId: ENV.APPWRITE_DB,
collectionId: ENV.CAR_COLLECTION,
documentId: car.id,
data: car.toAppwrite(),
);
my problem is: i get this error in return:
AppwriteException: general_argument_invalid, Invalid documentId param: UID must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, and underscore. Can't start with a leading underscore (400)<…>
would be great for any solutions and explanations of the reason.