Handling API Errors and Updating the Database Asynchronously with Effect - Effect Community