[Auto] [Backend] POST /api/v1/tokens: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column api_tokens.updated_at does not exist HINT: Perhaps you meant to reference the column "api_tokens.... #322
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Error Report
Message: [Backend] POST /api/v1/tokens: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column api_tokens.updated_at does not exist
HINT: Perhaps you meant to reference the column "api_tokens.created_at".
[SQL: INSERT INTO api_tokens (id, user_id, token_hash, name, scopes, expires_at, last_used_at, revoked_at, tenant_id, deleted_at) VALUES ($1::UUID, $2::UUID, $3::VARCHAR, $4::VARCHAR, $5::JSONB, $6::TIMESTAMP WITH TIME ZONE, $7::TIMESTAMP WITH TIME ZONE, $8::TIMESTAMP WITH TIME ZONE, $9::UUID, $10::TIMESTAMP WITH TIME ZONE) RETURNING api_tokens.created_at, api_tokens.updated_at]
[parameters: (UUID('bd45ddd7-3310-467d-8c22-8da8bd88f1d9'), UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'), 'bc63d0da82da880c46348f9580728e2acbe997e6c6106213d5dd0902df1df67f', 'Phase5 Test Token', '["mcp:read", "mcp:write"]', None, None, None, UUID('bfe4d09e-e84d-4e01-ba00-8bc2aa49e5aa'), None)]
(Background on this error at: https://sqlalche.me/e/20/f405)
Stack:
URL: http://crm.media-on.de/api/v1/tokens
Context: