-
Notifications
You must be signed in to change notification settings - Fork 607
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
Preliminary Checks
-
I have reviewed the documentation: https://unkey.com/docs
-
I have searched for existing issues: https://github.com/unkeyed/unkey/issues
-
This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
I randomly got this error when creating a role
{"error":{"code":"INTERNAL_SERVER_ERROR","docs":"https://unkey.dev/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR","message":"target: unkey.-.primary: vttablet: rpc error: code = Aborted desc = transaction 1727848515790095014: in use: for query (CallerID: kzr01kdt6cz27x485f8p)","requestId":"req_2xEK1qBBAYjecN8sMJr7fHbKuajZ"}
Steps to Reproduce
- Try to create a role via API Example code of what I did when creating the role:
roles := []string{"admin", "account"}
for _, role := range roles {
_, err := s.unkey.Permissions.CreateRole(ctx, operations.CreateRoleRequestBody{
Name: role,
})
if err != nil {
log.Printf("Error creating role %s", err)
}
}Expected behavior
To not get an error
Other information
No response
Screenshots
No response
Version info
-Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working