Open droans opened 11 months ago
Same.
Update: I ran through these steps again and it works again. The only change I made was resetting my discord bot's token, and entering the new one into requestrr. So I would start there.
I'm having this issue as well. It happens with any movie with the word "dead" in the title. Evil Dead 2, Dawn of the Dead, Shaun of the Dead - all of them. Resetting the bot token did not resolve the issue.
Error while searching movies with title dawn of the dead : Bad request: 400
DSharpPlus.Exceptions.BadRequestException: Bad request: 400
at DSharpPlus.Net.DiscordApiClient.EditWebhookMessageAsync(UInt64 webhook_id, String webhook_token, String message_id, DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at DSharpPlus.Entities.DiscordInteraction.EditOriginalResponseAsync(DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at Requestrr.WebApi.RequestrrBot.ChatClients.Discord.DiscordMovieUserInterface.ShowMovieSelection(MovieRequest request, IReadOnlyList`1 movies) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\ChatClients\Discord\DiscordMovieUserInterface.cs:line 31
at Requestrr.WebApi.RequestrrBot.Movies.MovieRequestingWorkflow.SearchMovieAsync(String movieName) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\Movies\MovieRequestingWorkflow.cs:line 41
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle0(InteractionContext ctx, String movieTitle)
warn: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Bot has been restarted.
fail: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Error while searching movies with title evil dead 2 : Bad request: 400
DSharpPlus.Exceptions.BadRequestException: Bad request: 400
at DSharpPlus.Net.DiscordApiClient.EditWebhookMessageAsync(UInt64 webhook_id, String webhook_token, String message_id, DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at DSharpPlus.Entities.DiscordInteraction.EditOriginalResponseAsync(DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at Requestrr.WebApi.RequestrrBot.ChatClients.Discord.DiscordMovieUserInterface.ShowMovieSelection(MovieRequest request, IReadOnlyList`1 movies) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\ChatClients\Discord\DiscordMovieUserInterface.cs:line 31
at Requestrr.WebApi.RequestrrBot.Movies.MovieRequestingWorkflow.SearchMovieAsync(String movieName) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\Movies\MovieRequestingWorkflow.cs:line 41
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle0(InteractionContext ctx, String movieTitle)
Hey @Rain3x @droans I actually just ran into this issue, after seeing there was a newly released version of Requestrr I updated my current version to the latest; it seemed a fresh install with the same configuration made it work again.
This is definitely a widespread issue of some sort. I just started getting this and as stated above, resetting the bot token didn't fix it.
Contrary to the comment above, this is happening to me with any content requested through he bot.
fail: Requestrr.WebApi.RequestrrBot.ChatBot[0]
Error while searching movies with title dune : Bad request: 400
DSharpPlus.Exceptions.BadRequestException: Bad request: 400
at DSharpPlus.Net.DiscordApiClient.EditWebhookMessageAsync(UInt64 webhook_id, String webhook_token, String message_id, DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at DSharpPlus.Entities.DiscordInteraction.EditOriginalResponseAsync(DiscordWebhookBuilder builder, IEnumerable`1 attachments)
at Requestrr.WebApi.RequestrrBot.ChatClients.Discord.DiscordMovieUserInterface.ShowMovieSelection(MovieRequest request, IReadOnlyList`1 movies) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\ChatClients\Discord\DiscordMovieUserInterface.cs:line 31
at Requestrr.WebApi.RequestrrBot.Movies.MovieRequestingWorkflow.SearchMovieAsync(String movieName) in D:\Dev\Requestrr\requestrr\Requestrr.WebApi\RequestrrBot\Movies\MovieRequestingWorkflow.cs:line 41
at Requestrr.WebApi.RequestrrBot.SlashCommands.RequestGroup.MovieByTitle99999(InteractionContext ctx, String movieTitle)
I am getting the same exact error with all requests.
Hey @Rain3x @droans I actually just ran into this issue, after seeing there was a newly released version of Requestrr I updated my current version to the latest; it seemed a fresh install with the same configuration made it work again.
Thanks for pointing out there is a new version. I ran into this error too, and after seeing your post I updated to the new version and the issue resolved for me. It's pertinent to note if you are running a docker container, and are using linuxserver.io repo, that repo is not getting updated. You have to change your image to use darkalfx/requestrr and change the in container /config mapping to /root/config to wherever you store the configs on your host.
Doing this upgraded my existing instance and retained all settings, and the 400 errors went away.
Hey @Rain3x @droans I actually just ran into this issue, after seeing there was a newly released version of Requestrr I updated my current version to the latest; it seemed a fresh install with the same configuration made it work again.
Can confirm this fixed the issue, didn't notice the update. Thank you!
I've been receiving a Bad request error for a specific movie, Dawn of the Dead. All other movies and shows seem to be processing correctly - even others with spaces or with similar names.
Here is the logging details: