Running list-tables against a cloned database (this only happens against a cloned DB) throws an unhelpful DataAPIException: CLIENT_SERIALIZATION error. The root cause (buried in the verbose stack trace) is a Jackson deserialization failure — DataAPIErrorDescriptor lacks a default constructor or @JsonCreator, causing the error response from the API to fail to deserialize. The user-facing error message gives no indication of the actual problem.
Steps to reproduce:
./astra --verbose db --profile "AcmeCorp" \
list-tables \
<cloned-db-id> \
-k <keyspace_name>
Against a cloned DB → fails with CLIENT_SERIALIZATION.
Against a non-cloned DB with the same command → succeeds.
Root cause (from stack trace):
Cannot construct instance of DataAPIErrorDescriptor
(no Creators, like default constructor, exist)
Jackson cannot deserialize the errors array in DataAPIResponse because DataAPIErrorDescriptor extends Throwable and lacks the required constructors or @JsonCreator annotation.
Expected behavior
Either a meaningful error message explaining the actual failure, or proper deserialization of the error response.
Workaround
Use single quotes, not double quotes, with the explicit -k flag:
./astra --verbose db --profile 'Profile Name' list-tables -k <keyspace_name>
Running list-tables against a cloned database (this only happens against a cloned DB) throws an unhelpful DataAPIException: CLIENT_SERIALIZATION error. The root cause (buried in the verbose stack trace) is a Jackson deserialization failure — DataAPIErrorDescriptor lacks a default constructor or @JsonCreator, causing the error response from the API to fail to deserialize. The user-facing error message gives no indication of the actual problem.
Steps to reproduce:
Against a cloned DB → fails with CLIENT_SERIALIZATION.
Against a non-cloned DB with the same command → succeeds.
Root cause (from stack trace):
Cannot construct instance of
DataAPIErrorDescriptor(no Creators, like default constructor, exist)
Jackson cannot deserialize the errors array in DataAPIResponse because DataAPIErrorDescriptor extends Throwable and lacks the required constructors or @JsonCreator annotation.
Expected behavior
Either a meaningful error message explaining the actual failure, or proper deserialization of the error response.
Workaround
Use single quotes, not double quotes, with the explicit -k flag:
./astra --verbose db --profile 'Profile Name' list-tables -k <keyspace_name>