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.