prisma-client-go: spawn: query engine errored
spawn: query engine errored: expected value at line 1 column 1
This error occurs due to this.
if clientErr := client.Prisma.Connect(); clientErr != nil {
logs.Error().Msgf("Failed to create prisma client due to error. Error=(%+v)", clientErr)
fmt.Printf("Failed to create prisma client due to error. Error=(%+v)", clientErr)
return c.Status(fiber.StatusInternalServerError).JSON(consumeruser.AllLocationConsumerResponse{
Message: "Failed to get Locations",
Status: false,
Locations: []consumeruser.SmallLocation{},
})
}
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (9 by maintainers)
As it is now, it’s not working with my atlas db connection URL