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
While creating a workspace/workspace group with a name bigger than 32 characters I got this error message:
on sdb_workspaces.tf line 9, in resource "singlestoredb_workspace" "ws0":
9: resource "singlestoredb_workspace" "ws0" {
An unsuccessful status code occurred when calling SingleStore API. Ensure a valid API key is created at https://portal.singlestore.com/organizations/org-id/api-keys and it's provided in one of the following ways:
1. Directly set as the 'api_key' attribute in the provider configuration.
2. Stored in a file with its absolute path set in the 'api_key_path' attribute.
3. Set as the 'SINGLESTOREDB_API_KEY' environment variable.If the error is not clear, please report the issue https://www.singlestore.com/support/.
SingleStore client response body: name: the length must be between 1 and 32
My suggestion is that we only show the API Key Error Message if the API responds with 401 (error in authorization) but omit it for other HTTP code (usually 422 if the error is input validation - like the max length for the name)
The text was updated successfully, but these errors were encountered:
While creating a workspace/workspace group with a name bigger than 32 characters I got this error message:
My suggestion is that we only show the API Key Error Message if the API responds with 401 (error in authorization) but omit it for other HTTP code (usually 422 if the error is input validation - like the max length for the name)
The text was updated successfully, but these errors were encountered: