I am working on a message gateway API assignment, and for that I am building a SQL database to get and send messages through, but I get this error "Cannot read property