Discordchatexporter: Docker error: Requested resource does not exist

Created on 7 Aug 2020  路  2Comments  路  Source: Tyrrrz/DiscordChatExporter

I'm on windows 10
Docker version 19.03.12, build 48a66213fe

I can run:
docker run --rm tyrrrz/discordchatexporter:stable

result:

DiscordChatExporter.Cli v2.21.2

Usage
  dotnet DiscordChatExporter.Cli.dll [command] [options]

Options
  -h|--help         Shows help text.
  --version         Shows version information.

Commands
  export            Export a channel.
  exportdm          Export all direct message channels.
  exportguild       Export all channels within specified guild.
  channels          Get the list of channels in specified guild.
  dm                Get the list of direct message channels.
  guilds            Get the list of accessible guilds.
  guide             Explains how to obtain token, guild or channel ID.

You can run `dotnet DiscordChatExporter.Cli.dll [command] --help` to show help on a specific command.

But when running:

docker run --rm -v d:\log:/app/out tyrrrz/discordchatexporter:stable export -t <TOKEN> -c <CHANNELID>

(<TOKEN> (a string 59 length) and <CHANNELID> (string 18 length) values obtained as described here: https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
got this:

DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Requested resource does not exist.
   at DiscordChatExporter.Domain.Discord.DiscordClient.GetJsonResponseAsync(String url) in /src/DiscordChatExporter.Domain/Discord/DiscordClient.cs:line 72
   at DiscordChatExporter.Domain.Discord.DiscordClient.GetChannelAsync(String channelId) in /src/DiscordChatExporter.Domain/Discord/DiscordClient.cs:line 187
   at DiscordChatExporter.Cli.Commands.Base.ExportCommandBase.ExportAsync(IConsole console, String channelId) in /src/DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:line 68
   at DiscordChatExporter.Cli.Commands.ExportChannelCommand.ExecuteAsync(IConsole console) in /src/DiscordChatExporter.Cli/Commands/ExportChannelCommand.cs:line 14
   at CliFx.CliApplication.RunAsync(IReadOnlyList`1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables)

tried in differents channel ids

invalid

Most helpful comment

This usually means that the chat doesn't exist (404 not found). Are you copying the IDs correctly? If you're trying to export DMs, make sure you're not copying the user ID. If it's a server channel, then make sure you're not copying the server ID.

All 2 comments

This usually means that the chat doesn't exist (404 not found). Are you copying the IDs correctly? If you're trying to export DMs, make sure you're not copying the user ID. If it's a server channel, then make sure you're not copying the server ID.

That's the point... I was copying out serverid:(
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chibiusagi picture chibiusagi  路  4Comments

quyleanh picture quyleanh  路  6Comments

Sakani17 picture Sakani17  路  3Comments

Latias4Ever picture Latias4Ever  路  4Comments

CyberneticSquid picture CyberneticSquid  路  3Comments