Using the add product post method I am able to create and add only a single product to the mongoDB collection. After that if I try to create any more, it gives me an internal error 500. If I delete the document in mongoDB and try to add more products, I am only able to add one before it gives me internal error again. Any suggestions?
Using the add product post method I am able to create and add only a single product to the mongoDB collection. After that if I try to create any more, it gives me an internal error 500. If I delete the document in mongoDB and try to add more products, I am only able to add one before it gives me internal error again. Any suggestions?