URI malformed - Backend Admin

hi,

I have a weird issue with Admin Back-end task. he ie my error:

I get this error when I run the “node movie-last-updated-migration.js” command.

Please help,
Regards,
Rashad

My .env file with credentials is the same one I have used since the beginning of the course. Why would I have this problem?

1 Like

Now I attempted to hard type the host and mflix in the movie-last-updated-migration.js file. it generates type error.

1 Like

Please disregard this post. i found solution.

1 Like

Hi @Rashad_Bayram, can you share what worked for you.

It will help others if they also find themselves in the same place in the future.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

2 Likes

yes sure.
for the “URI malformed error” I had to hard-type the URI into the migration file. the host and mflix variable had to be replaced with .env file info.

for the “type” error I just missed the $ sign for one of the predicate variable parameters.

Regards,
Rashad

1 Like