Instance can't be created unless instanceId == displayName #1093
Labels
api: spanner
Issues related to the googleapis/nodejs-spanner API.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
While working on #1073, I came across an issue where I was trying to set the
displayName
on aCreateInstance
request where thedisplayName
was different to theinstanceId
. I kept getting the errorERROR: { Error: 3 INVALID_ARGUMENT: Invalid CreateInstance request. }
.Turns out there's a bug in the wrapper around
CreateInstance
that sets theinstanceId
todisplayName
.The text was updated successfully, but these errors were encountered: