TitanEmbeds / Titan

Create Discord server widgets for websites of all sizes! A simple to setup process for end-users. Server members may view or send messages into an embedded Discord channel.

Home Page:https://titanembeds.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CORS policy violation

thedustyrover opened this issue · comments

Trying to integrate for the first time but getting the following:

Access to XMLHttpRequest at 'https://discordapp.com/api/guilds/..../widget.json' from origin 'https://titanembeds.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

This is between discordapp.com and titanembeds right? There's no special header I can set to allow this?

commented

Does this break the embed?

Correct, this is an issue with Discord API and there are no means of resolving this issue. Only time will tell when they fixes it.

On a side note, the widget.json is fetched by Titan to populate the instant invite button. That would be about it, so you can probably ignore this issue.