mosh-hamedani / vidly-api-node

309 stars 285 forks source link

Issue-The value entering into Object field #30

Open ChandrashekharJaka opened 4 years ago

ChandrashekharJaka commented 4 years ago

Hi, I am not able to enter value to field which is created as object and same i have validated using Joi. I am getting error "it (field name) must be an Object'. Could you please help me to how to handle? Thanks!

AgusDG commented 4 years ago

In what file are you getting the error? What form? Can you provide the log error you see in browser?

ChandrashekharJaka commented 4 years ago

Hi, Thank you for your reply! I have resolved this issue. Now I am not able to host applications (nodejs with mongodb) to heroku. I am struggling a lot to host the same. Please find the errors below.

'MongoNetworkError: connection 5 to cluster0-shard-00-01-4k5ih.azure.mongodb.net:27017 closed',

2020-06-12T12:27:51.051374+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host= whispering-anchorage-13666.herokuapp.com request_id=186ab7c1-24a1-4f41-980c-ffa05671992e fwd="157.49.204.47" dyno= connect= service= status=503 bytes= protocol=https

Please help me to complete the application from end to end.

Thanks, Chandrashekhar Jaka

On Tue, 9 Jun 2020, 9:39 pm Rafael Duarte, notifications@github.com wrote:

In what file are you getting the error? What form? Can you provide the log error you see in browser?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mosh-hamedani/vidly-api-node/issues/30#issuecomment-641405495, or unsubscribe https://github.com/notifications/unsubscribe-auth/APTLS2USYUDTTFGLM33JY23RVZNE3ANCNFSM4NL7X4YQ .

AgusDG commented 4 years ago

I was facing a similar issue. I solved it following the steps in this forum post.

https://forum.codewithmosh.com/d/694-may-2019-summary-of-react-tutorial-vidly-node-deployment-fixes

Hope it helps

ChandrashekharJaka commented 4 years ago

Hi AgusDG, Thank you, I will try.

Regards,