DatabaseError: Unauthorized on Cloudflare Worker Query Execution with db.execute #587
Replies: 1 comment
-
worked after adding new password and changing it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to fetch data from a database in my Cloudflare Worker using
db.execute('SELECT * from histories where user_id = ?', [userid])
here userid=varchar(255),
, but I keep getting a DatabaseError: Unauthorized message. I expected the query to work smoothly, retrieving information from the 'histories' table based on the user's ID.
Beta Was this translation helpful? Give feedback.
All reactions