Code Monkey home page Code Monkey logo

Comments (7)

edrock200 avatar edrock200 commented on June 2, 2024 2

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.

from requestrr.

N4GR avatar N4GR commented on June 2, 2024 1

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.

from requestrr.

jgramling17 avatar jgramling17 commented on June 2, 2024

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.

from requestrr.

Rain3x avatar Rain3x commented on June 2, 2024

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)

from requestrr.

hacktek avatar hacktek commented on June 2, 2024

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)

from requestrr.

obadaahmar avatar obadaahmar commented on June 2, 2024

I am getting the same exact error with all requests.

from requestrr.

Rain3x avatar Rain3x commented on June 2, 2024

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!

from requestrr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.