Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erorr on Payload > Embeds > url on GuzzleWebHook.php on send function #29

Closed
indimasia opened this issue Jan 10, 2023 · 1 comment
Closed

Comments

@indimasia
Copy link

indimasia commented Jan 10, 2023

when i try logging with discord i got error with this message
Discord web hook responded with an error (400): {"embeds": ["0"]}
when i the code on GuzzleWebHook.php on send function, its send url on payload with key embeds,
when I try post to discord without embeds url, it goes success.
Can you remove the url key on payload?

@indimasia indimasia changed the title Eror when Logging Erorr on Payload > Embeds > url on GuzzleWebHook.php on send function Jan 10, 2023
@jairdeon
Copy link

jairdeon commented Jan 10, 2023

Hi, I am also having this same problem. For now, I immediately made the following change to the file:

  • vendor/marvinlabs/laravel-discord-logger/src/DiscordLogger/Discord/Embed.php
    I commented the line 122 // 'url' => $this->url

With that I got the updates from Discord again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants