Hamidreza Sadegh
Hamidreza Sadegh

Reputation: 2196

couchbase lite Invalid database name

try {
    uploadDone = manager.getDatabase("uploadDone");
    uploadDone.compact();
} catch (CouchbaseLiteException e) {
} catch (Exception e) {
}

Method threw java.lang.IllegalArgumentException exception.
Invalid database name: uploadDone

Upvotes: 1

Views: 463

Answers (1)

Hamidreza Sadegh
Hamidreza Sadegh

Reputation: 2196

The name must consist only of lowercase ASCII letters, digits, and the special characters _$()+-/. It must also be less than 240 bytes and start with a lower case letter.

Upvotes: 1

Related Questions