Coder Social home page Coder Social logo

Comments (14)

DV8FromTheWorld avatar DV8FromTheWorld commented on May 26, 2024 4

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.

Bejasc avatar Bejasc commented on May 26, 2024 1

@jhgg will do - I've opened #6657

Thanks.

from discord-api-docs.

NickantX avatar NickantX commented on May 26, 2024

I'm also noticing this tonight.

from discord-api-docs.

minibox24 avatar minibox24 commented on May 26, 2024

image

image

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.

RoldZ012 avatar RoldZ012 commented on May 26, 2024

how to appear the profile of embed

from discord-api-docs.

Wazbat avatar Wazbat commented on May 26, 2024

I see this issue was closed, was this resolved? I was getting reports of this just yesterday

from discord-api-docs.

valdotle avatar valdotle commented on May 26, 2024

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.

Wazbat avatar Wazbat commented on May 26, 2024

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.

Bejasc avatar Bejasc commented on May 26, 2024

@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": //...
}

image

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.

Kill6r avatar Kill6r commented on May 26, 2024

It still doesn't work, any solution?

from discord-api-docs.

Kill6r avatar Kill6r commented on May 26, 2024

@typpo

from discord-api-docs.

Bejasc avatar Bejasc commented on May 26, 2024

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.

Bejasc avatar Bejasc commented on May 26, 2024

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.

jhgg avatar jhgg commented on May 26, 2024

Please open a new issue.

from discord-api-docs.

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.