Skip to content Skip to sidebar Skip to footer

"badvalueerror: Property Category Is Required" On Gae

I am trying to make a simple webapp html page that prints out data given from a datastore. However, I am continually running the following error: raise BadValueError('Property

Solution 1:

There might be some entities in your current datastore that don't have the category property, or other required properties, filled out. This could sometimes happen when you add the property to your model after already creating some other entities before that. Or perhaps adding the required=True option to a property that previously wasn't required.

If you are playing with dev data, I would suggest that you either clear your datastore or delete all your Question entities, and see if that works.

Otherwise, you'd have to manually add data to all the required fields or remove the required=True option.

Post a Comment for ""badvalueerror: Property Category Is Required" On Gae"