Thread

PA
Pathan Aymaan12:21 PMOpen in Slack
Hi Archestra team — I’m running archestra/platform:latest via Docker and hitting an error when trying to create a Personal Token and call an A2A agent endpoint.
Issue: Personal token creation fails and A2A auth doesn’t work.
Error returned:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32603,
"message": "Failed query: insert into \"usertoken\" (\"id\", \"organizationid\", \"userid\", \"name\", \"secretid\", \"tokenstart\", \"createdat\", \"lastusedat\") values (default, $1, $2, $3, $4, $5, default, default) returning \"id\", \"organizationid\", \"userid\", \"name\", \"secretid\", \"tokenstart\", \"createdat\", \"lastusedat\"\nparams: default-org,system,Personal Token,7aff233b-0062-4f29-9464-74d09078023a,archestra81fa"
}
}

3 replies
IK
Innokentii Konstantinov (archestra team)12:25 PMOpen in Slack
Hi, thanks for sharing! Are you getting this error when calling a2a agent endpoint? Could you please share steps to reproduce?
PA
Pathan Aymaan12:33 PMOpen in Slack
created a new agent under the Default team, and then tried calling the A2A endpoint with an organization token — that’s when we were getting the error.
Steps followed:
• Create new agent → assign to Default team
• Call A2A endpoint with org token → error
But when we switched to using a team token instead, it worked fine and the A2A call succeeded.
IK
Innokentii Konstantinov (archestra team)12:34 PMOpen in Slack
I'm glad you found a workaround! We will fix this, thanks for reporting
👍1