ZodError while creating an item

While using the “Generate with AI” button to create an item I ran into a problem.

When I attempt submit the item it gives me the “Please correct the form errors before submitting error”

However there is no indicated error in the form. I checked the web dev console and found no errors in the console. So I enabled Pause on caught exceptions and tried again. The web dev tools paused on this error:

ZodError: [ { "received": "hands", "code": "invalid_enum_value", "options": [ "armor", "hand", "head", "neck", "back", "legs", "belt", "ring", "feet", "gloves", "ammunition", "left_hand", "right_hand", "two_handed" ], "path": [ "equip_slot" ], "message": "Invalid enum value. Expected 'armor' | 'hand' | 'head' | 'neck' | 'back' | 'legs' | 'belt' | 'ring' | 'feet' | 'gloves' | 'ammunition' | 'left_hand' | 'right_hand' | 'two_handed', received 'hands'" } ]

All I can fine on the file and code location is the following:

Paused on exception

parseAsync - 8499-fbe40da0271fa8b3.js:1:11458

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

🐛 Bug Reports

Tags

User Interface

Author

MrRandom

Subscribe to post

Get notified by email when there are changes.