Replies: 1 comment 1 reply
-
It does sound like there is something fishy with your connection parameters, or the database configuration. You could try increasing the logging on the database to see if you can find where the transaction is being set to read-only. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are operating a FROST-SERVER with authentication via Keycloak. When sending DELETE Requests for a "Thing" via requests library in python,
we are getting the following error message stating:
{ "code": 400, "type": "error", "message": "SQL [delete from \"THINGS\" where \"THINGS\".\"ID\" = ?]; ERROR: cannot execute DELETE in a read-only transaction" }
We have checked so far that:
transaction_read_only = off
DELETE FROM "THINGS" WHERE "ID" = 12345
Could there be another configuration parameter that is preventing DELETE requests via http and results in the respective error message?
Beta Was this translation helpful? Give feedback.
All reactions