Skip to content
Error when accessing replit database in python
Profile icon

Whenever i try to access my database with value = db["key"] I get the error TypeError: unexpected type "float".

This never happened before, can someone tell me what this means?

the file with problems = cogs/

You are viewing a single comment. View All
Profile icon

i see, what are you exactly trying to do here?



the types are already correct, and no type will ever need to be converted. Also, these values don't appear to be valid dict values.