Hi. Im facing problem in second course of Next JS. It is exactly in section “Implementing the API” for assigned to the user ID. When Mosh is testing an API with correct ID, he receives a 500 error, he restarts web server and everything is working, when I do the same, the error is still there. What to do in this situation? I tried everything. Has anybody experienced this same issue?
Solution: just replace localhost database with database from production - Planet Scale - and everything will be working