Error: 'UpdateResult' object has no attribute 'get' - Solved

Getting ‘UpdateResult’ object has no attribute ‘get’ in Ticket: User Preferences.

Don’t know how to fix it.

Hi @SwapanDas,

Let me know if you have resolved the issue, and if yes, it would be great if you can share the solution that worked for you.

Kanika

The issue got resolved after I changed “user_id”: email to “email”: email in db.py.

1 Like

Thanks @SwapanDas! Good luck for the rest of the course. :slight_smile:

Kanika