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
2024-07-17 12:25:35.227 UTC [4632] ERROR: operator does not exist: timestamp with time zone >= character varying at character 156
2024-07-17 12:25:35.227 UTC [4632] HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
2024-07-17 12:25:35.227 UTC [4632] STATEMENT: SELECT logs.url, logs.endpoint, logs.created_at, logs.status_code, logs.content_length, logs.api_key, logs.body, logs.id
FROM logs
WHERE logs.created_at BETWEEN $1::VARCHAR AND $2::VARCHAR ORDER BY logs.created_at DESC
LIMIT $3::INTEGER OFFSET $4::INTEGER
(sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedFunctionError'>: operator does not exist: timestamp with time zone >= character varying
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
[SQL: SELECT logs.url, logs.endpoint, logs.created_at, logs.status_code, logs.content_length, logs.api_key, logs.body, logs.id
FROM logs
WHERE logs.created_at BETWEEN $1::VARCHAR AND $2::VARCHAR ORDER BY logs.created_at DESC
LIMIT $3::INTEGER OFFSET $4::INTEGER]
[parameters: ('2024-07-17T15:25:00+03:00', '2024-07-18T15:25:00+03:00', 100, 0)]
(Background on this error at: https://sqlalche.me/e/20/f405)
2024-07-17 12:25:35.229 UTC [4632] ERROR: current transaction is aborted, commands ignored until end of transaction block
2024-07-17 12:25:35.229 UTC [4632] STATEMENT: SELECT logs.url, logs.endpoint, logs.created_at, logs.status_code, logs.content_length, logs.api_key, logs.body, logs.id
FROM logs
WHERE logs.created_at BETWEEN $1::VARCHAR AND $2::VARCHAR ORDER BY logs.created_at DESC
LIMIT $3::INTEGER OFFSET $4::INTEGER
INFO: 172.21.0.1:51892 - "GET /admin/api/log?skip=0&limit=100&order_by=created_at%20desc&where=%7B%22and%22%3A%5B%7B%22created_at%22%3A%7B%22between%22%3A%5B%222024-07-17T15%3A25%3A00%2B03%3A00%22%2C%222024-07-18T15%3A25%3A00%2B03%3A00%22%5D%7D%7D%5D%7D HTTP/1.1" 500 Internal Server Error
how do I fix it?
The text was updated successfully, but these errors were encountered:
hi
postgres+asyncpg
starlette-admin==0.13.2
models.py
how do I fix it?
The text was updated successfully, but these errors were encountered: