Discord Embed Error

diwasmainali1
HOBBY

15 days ago

Hi,
My website displays embeds on every social media platform, and I have also verified this with the Meta Debugger, but only Discord shows an "Internal error." Even my production URL displays results, but not my custom domain.
What I have tried:

Turning Cloudflare off completely
Testing new versions of links (with/without www, different formats)
Creating a rule to specifically allow Discord bot traffic

I believe something in Railway (my hosting provider) is blocking Discord's bot requests. Is there a solution to this issue?
Additional Details:

Custom domain: www.cramandconquer.com (fails)
Production URL: yeld-production.up.railway.app (works)
All Open Graph meta tags are properly configured
Other platforms (Facebook, Twitter, etc.) work perfectly

Solved$10 Bounty

5 Replies

diwasmainali1
HOBBY

15 days ago

e1f02b5b-9d33-45b5-90c4-4ae5935b0276


Internal error? Probably Discord’s side



diwasmainali1
HOBBY

15 days ago

yea basically no solution here


diwasmainali1
HOBBY

15 days ago

could be, but the embed works with: yeld-production.up.railway.app


Stupid unhelpful on Discord’s side


I just checked the site myself and it doesnt make sense why it shouldnt be working. Are you doing anything differently in the source code between the sites?


diwasmainali1
HOBBY

15 days ago

Nope, the embed works on every other site except discord.

I have used meta debugger to check.


diwasmainali1
HOBBY

14 days ago

Resolved! (not really) but it's an issue with cloudflare


smolpaw
HOBBYTop 5% Contributor

14 days ago

Tell us what was the issue, I faced a similar problem with whatsapp where I found out they cache the crawl for a certain period of time so no matter what changes I made, it would still have the same result.


smolpaw

Tell us what was the issue, I faced a similar problem with whatsapp where I found out they cache the crawl for a certain period of time so no matter what changes I made, it would still have the same result.

diwasmainali1
HOBBY

14 days ago

I purged my cache on cloudflare in the hopes that the my new logo is used on branding. But I think they treated discord bot as a threat at a much higher layer. (DDOS layer). I know it's cloudflare because whenever I pause it and test the embed it works. Also I created a rule to test if the bot is even coming through in the WAF, and there are 0 firewall logs.

It's frustrating, I gotta write another support ticket to cloudflare.


diwasmainali1

I purged my cache on cloudflare in the hopes that the my new logo is used on branding. But I think they treated discord bot as a threat at a much higher layer. (DDOS layer). I know it's cloudflare because whenever I pause it and test the embed it works. Also I created a rule to test if the bot is even coming through in the WAF, and there are 0 firewall logs. It's frustrating, I gotta write another support ticket to cloudflare.

smolpaw
HOBBYTop 5% Contributor

14 days ago

They have something called bot fight mode which blocks bot requests, but they have 2 levels of it, like a standard bot fight mode and super and my axios requests were getting blocked by the super bot fight mode so i had to turn it off. I believe the standard one is on by default but i personally never faced any issues with it.
Check for it. I may be getting some terms wrong as this was in 2023.


diwasmainali1
HOBBY

14 days ago

Yea, I turned both off. It's getting blocked at much higher level (the DDOS layer probably). Thanks tho.


Status changed to Solved chandrika 6 days ago