Hi everyone,
I’m trying to replace the contents of a document providing a given id. Below is my code:
cas, err := cb.deploymentsDB.Upsert(id, deployment, 0)
if err != nil {
log.Println(err)
return err
}
For some reason, I’m getting an “invalid arguments” error when calling this function. ID is a uuid, deployment is the value to upsert, and the last parameter is an expiration value of 0.
couchbase_deployments.go:73: invalid arguments
Any ideas what could be going wrong?