Error thrown when the Data API response is not as expected. Should never be thrown in normal operation.
A Collection was used on a table, or vice versa.
Collection
New Data API changes occurred that are not yet supported by the client.
There is a bug in the Data API or the client.
For #1, ensure that you're using the right Table or Collection class.
Table
If #2 or #3, upgrade your client, and/or open an issue on the astra-db-ts GitHub repository.
astra-db-ts
Internal
Should not be instantiated by the user.
Optional
Readonly
The response that was unexpected.
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
Overview
Error thrown when the Data API response is not as expected. Should never be thrown in normal operation.
Possible causes
A
Collection
was used on a table, or vice versa.New Data API changes occurred that are not yet supported by the client.
There is a bug in the Data API or the client.
Possible solutions
For #1, ensure that you're using the right
Table
orCollection
class.If #2 or #3, upgrade your client, and/or open an issue on the
astra-db-ts
GitHub repository.