Loopback - GET model using custom String ID from MongoDB
问题 I'm developing an API with loopback, everything worked fine until I decided to change the ids of my documents in the database. Now I don't want them to be auto generated. Now that I'm setting the Id myself. I get an "Unknown id" 404, whenever I hit this endpoint: GET properties/{id} How can I use custom IDs with loopback and mongodb? Whenever I hit this endpoint: http://localhost:5000/api/properties/20020705171616489678000000 I get this error: { "error": { "name": "Error", "status": 404,