You’re trying to use a name containing uppercase letters. For compatibility reasons, database names only allow lowercase (and digits and a small set of punctuation).
If you look at the NSError you got back, there was a clue in the message: “Invalid database/document/revision ID”.
–Jens