Skip to content

Chapter 6 unable to seed the DB #879

@GauthierJeannenot

Description

@GauthierJeannenot

hey guys, I've seen I ain't the only one with problems dealing with chapter 6.
I have followed every instructions to the letter but when i go on the endpoint '/seed' i get this error message

Screenshot 2024-10-07 at 16 12 27

One Workaround people seems to use is to go on the vercel instance of the app and go to the seed endpoint from there.
I did so, and i got the message "database seeded successfully".
Screenshot 2024-10-07 at 16 57 57

But when i go back to "data" on Vercel no tables appear.

One other workaround was to choose a DB server closer to us, which i also did but to no avail.

Plus, there is still need to connect locally to the db further down the tutorial.

I'd like to point out, i've correctly deleted the lines and uncommented the rest of the file
Screenshot 2024-10-07 at 16 54 27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions