#Field _choices_type is required to determine the model type.

1 messages · Page 1 of 1 (latest)

last spoke
#

Today I'm finding that my autocompletes are failing with the error:

future: <Task finished name='Task-72' coro=<ApplicationCommandMixin.on_application_command_auto_complete.<locals>.callback() done, defined at /path/to/bot/.env/lib/python3.10/site-packages/discord/bot.py:827> exception=HTTPException('400 Bad Request (error code: 50035): Invalid Form Body\nIn data: Field "_choices_type" is required to determine the model type.')>

My bot was running quite happily on py-cord-2.1.1 until today. Thinking that maybe there's an API change from Discord, I upgraded to py-cord-2.2.2 but the same error occurs any time an autocomplete is fired.

last spoke
#

@empty zephyr

fossil frigate
#

Having the same issue even with the latest dev branch. It does look like something changed on the Discord API itself.

last spoke
#

indeed. i'm talking with discord api devs