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

Getting 400 Bad Request response: {\"embed\": [\"Expected an object/dictionary.\"]} #68

Open
dpslwk opened this issue Jan 4, 2024 · 8 comments

Comments

@dpslwk
Copy link

dpslwk commented Jan 4, 2024

As of this morning our site is only getting 400 responses to posting to discord

We done actually use embeds, all are notifications are just markdown.

@deto1986
Copy link
Contributor

deto1986 commented Jan 4, 2024

Same here. We tested it also without embeds. Not working anymore. On Dec 15th 2023 it was working fine.

Problem is, that you can't send an empty 'embeds' array in the json body anymore.

@winkcler
Copy link

winkcler commented Jan 4, 2024

Same here.

@deto1986
Copy link
Contributor

deto1986 commented Jan 4, 2024

I have created a pull request to fix this issue, see #69

@LukasJK
Copy link

LukasJK commented Jan 5, 2024

Same issue here

@KamilMerkandi
Copy link

@atymic , could you approve and merge this PR?

@deto1986
Copy link
Contributor

deto1986 commented Jan 8, 2024

For everyone who's waiting for this PR, maybe you can implement a workaround for your stuff. With a filled embed you don't run into this error. Maybe you can fill a embed with some useful data as a workaround until this PR is merged.

@huglester
Copy link

Same problem.

@AlexNovicov
Copy link

Same problem

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

7 participants