My issue was that I was trying to save a String in to a Float attribute. Make sure you set all the attributes of prisma object matching with the given type when saving or updating.