Comments (14)
Can confirm and repro this problem.
The problem is being caused by an ongoing infra issue. Team is working to resolve it.
from discord-api-docs.
@jhgg will do - I've opened #6657
Thanks.
from discord-api-docs.
I'm also noticing this tonight.
from discord-api-docs.
In addition to avatar_url, this issue is true for all external images in webhook messages.
In the image above, I put a YouTube thumbnail image in the embed.image.url, and the message didn't arrive on my Discord channel until much later.
If there is no image in the webhook, the message arrives on the Discord channel as quickly as usual.
from discord-api-docs.
how to appear the profile of embed
from discord-api-docs.
I see this issue was closed, was this resolved? I was getting reports of this just yesterday
from discord-api-docs.
I see this issue was closed, was this resolved? I was getting reports of this just yesterday
According to the statuspage it was.
from discord-api-docs.
Might need to re-open this issue then? Users are testing it and still getting back the default images. However my own testing after not using my bot for a while worked fine
Perhaps this is now a cache problem?
After testing, sending different images are still showing as the default image. Even brand not sent before ones. These are images hosted on discord, with and without the new query params
from discord-api-docs.
@typpo has a fix for this been deployed?
This is still happening now.
See my below request/response
Request
{
"username":"TEST",
"content":"Test via postman",
"avatar_url":"https://cdn.discordapp.com/attachments/1203224935456309268/1203224983002939443/ServerBadge.png"
}
Response
{
"id": "1206483171827261490",
"type": 0,
"content": "Test via postman",
"channel_id": "1203495739813007400",
"author": {
"id": "1203964802683244564",
"username": "TEST",
"avatar": null,
"discriminator": "0000",
"public_flags": 0,
"flags": 0,
"bot": true,
"global_name": null
},
"attachments": [],
"embeds": [],
"mentions": [],
"mention_roles": [],
"pinned": false,
"mention_everyone": false,
"tts": false,
"timestamp": "2024-02-12T06:13:23.537000+00:00",
"edited_timestamp": null,
"flags": 0,
"components": [],
"webhook_id": //...
}
Note that this problem occurs both with and without the ?ex
on the image URL, but also for any externally hosted image URL.
In all cases, the image is returned as null, and the default image is used for the webhook.
from discord-api-docs.
It still doesn't work, any solution?
from discord-api-docs.
from discord-api-docs.
Testing again this morning using the following URLS;
Valid image, expiry params included - Does not work ❌
https://cdn.discordapp.com/attachments/1130595287078015027/1206780063664836618/image.png?ex=65dd4084&is=65cacb84&hm=ac217a99a18d44ef234a9917951c0d25659d90235fc5c2264cff6874ed9e66c3&
Valid image, expiry params excluded - Does not work ❌
https://cdn.discordapp.com/attachments/1130595287078015027/1206780063664836618/image.png
Externally hosted image - No issue ✔
https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
Given that the avatar_url
parameter should automatically refresh these URLs - I would expect the discord CDN links to be working - and at the very least, working inside their validity period - but they are not.
from discord-api-docs.
Given you recently updated the documentation surrounding the automatic refresh of URLs sent via the API - @shaydewael are you able to shed any light on this?
from discord-api-docs.
Please open a new issue.
from discord-api-docs.
Related Issues (20)
- Delete Guild Role errors for very large servers HOT 3
- Redundant Message Update Events HOT 4
- Embed thumbnail extraction broken when using `og:image` with a Guild icon URL HOT 1
- HTTP 415 for image embed HOT 1
- Message Formatting: user mention rendered as `mailto` link
- Video embeds don't work in Webhook API HOT 3
- StringSelect UI coloring incorrect HOT 2
- Image embeds not always showing HOT 12
- Cannot connect on IPv6 HOT 1
- `new_value` and `old_value` value type mismatch in GUILD_AUDIT_LOG_ENTRY_CREATE event for role color update HOT 2
- When running app commands IN DMs it says "Unknown Integration" HOT 11
- Adding a super reaction also adds a normal one HOT 1
- `GET /webhooks/` endpoint requires `MANAGE_WEBHOOKS` Permission to fetch an app/bot's own Webhook(s) in a Guild
- Getting list of application commands randomly fails with a 404 error HOT 7
- `banner` always returned as `null` on bot accounts HOT 1
- Guild Member Updates and Large Bots
- @kyranet we are still figuring out how we want to handle deprecation on that. i can see a world where if you specify intents the opcode will ignore the parameter if you pass it and do not have the intent.
- First Message in thread doesn't update on mobile phone.
- Internal Server Error when editing/following up interactions with default_values HOT 1
- Poor performance to send messages on specific server HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-api-docs.