You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user reported the following error when executing a command on the JSON API:
{"errors":[{"message":"Could not resolve type id 'insertOne' as a subtype of `io.stargate.sgv2.jsonapi.api.model.command.NamespaceCommand`: Class `io.stargate.sgv2.jsonapi.api.model.command.impl.InsertOneCommand` not subtype of `io.stargate.sgv2.jsonapi.api.model.command.NamespaceCommand`\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled);
The problem is that the insertOne operation is an operation on the collection resource, but the collection name was not included on the URL path (i.e. /api/json/v1//). Let's see if we can give a better error message if a collection command is requested on the namespace resource.
The text was updated successfully, but these errors were encountered:
A user reported the following error when executing a command on the JSON API:
The problem is that the insertOne operation is an operation on the collection resource, but the collection name was not included on the URL path (i.e. /api/json/v1//). Let's see if we can give a better error message if a collection command is requested on the namespace resource.
The text was updated successfully, but these errors were encountered: