HTTP/1.1 400 Bad Request {"embeds": ["0"]}Solved

Hey ! I have no problem with dw wipe but whenever i try to send dw protocol it gives me this log

| [Discord Wipe] HTTP/1.1 400 Bad Request {"embeds": ["0"]}

Here's my cfg. (erased the webhooks only here. )

{
  "Debug Level (None, Error, Warning, Info)": "None",
  "Command": "dw",
  "Map Render Name": "Icons",
  "Wipe Webhook url": "xxx",
  "Protocol Webhook url": "xxx",
  "Wipe message": {
    "Content": "@everyone",
    "Embed": {
      "Enabled": true,
      "Title": "{server.name}",
      "Description": "**El servidor ha wipeado!**",
      "Url": "",
      "Embed Color": "#de8732",
      "Image Url": "https://i.imgur.com/H4S8Wl5.jpg",
      "Thumbnail Url": "",
      "Fields": [
        {
          "Title": "Seed",
          "Value": "[{world.seed}](http://playrust.io/map/?Procedural%20Map_{world.size}_{world.seed})",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Size",
          "Value": "{world.size!km}km ({world.size!km^2}km^2)",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Protocol",
          "Value": "{server.protocol.network}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Click & Connect",
          "Value": "steam://connect/{server.address}:{server.port}",
          "Inline": false,
          "Enabled": true
        }
      ],
      "Footer": {
        "Icon Url": "https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/fe/fec8f9a3b5c6ae3a567cdf9ad872f6d60f9c9970_full.jpg",
        "Text": "http://rust.arenalatam.gg",
        "Enabled": true
      }
    }
  },
  "Protocol message": {
    "Content": "@everyone",
    "Embed": {
      "Enabled": true,
      "Title": "{server.name}",
      "Description": "El servidor se ha actualizado!",
      "Url": "",
      "Embed Color": "#de8732",
      "Image Url": "https://i.imgur.com/H4S8Wl5.jpg",
      "Thumbnail Url": "",
      "Fields": [
        {
          "Title": "Protocol",
          "Value": "{server.protocol.network}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Previous Protocol",
          "Value": "{server.protocol.previous}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Mandatory Client Update",
          "Value": "This update requires a mandatory client update in order to be able to play on the server",
          "Inline": false,
          "Enabled": true
        },
        {
          "Title": "Click & Connect",
          "Value": "steam://connect/{server.address}:{server.port}",
          "Inline": false,
          "Enabled": true
        }
      ],
      "Footer": {
        "Icon Url": "https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/fe/fec8f9a3b5c6ae3a567cdf9ad872f6d60f9c9970_full.jpg",
        "Text": "http://rust.arenalatam.gg",
        "Enabled": true
      }
    }
  }
}
I loaded your config and was able to send Wipe and Protocol messages without any errors. I know discord has been having issues today so maybe it's related to that. Can you please test again and let me know.

Gives me the same issue, maybe is because i have a linxgsm alert bot allso?
I don't think another bot would cause any issue. Can you try resetting the config and just sending the default message and see if you see the error?
i tried in another server i have and gives me the same error log

[Discord Wipe] HTTP/1.1 400 Bad Request {"embeds": ["0"]}

Did you test using the default config embed?

Yes, just tried on a brand new server with a brand new api. dw wipe works, but dw protocol doesnt

(17:49:14) | Unloaded plugin Discord Wipe v2.1.8 by MJSU

(17:49:14) | Loaded plugin Discord Wipe v2.1.8 by MJSU

(17:49:19) | [Discord Wipe] Message:

(17:49:19) | You have sent a test wipe message

(17:49:29) | You have sent a test protocol message

(17:49:29) | [Discord Wipe] HTTP/1.1 400 Bad Request {"embeds": ["0"]}

Did you edit the message config at all? 

No, i used the config as it is. and tried with new webhooks.

 

{
  "Debug Level (None, Error, Warning, Info)": "None",
  "Command": "dw",
  "Map Render Name": "Icons",
  "Wipe Webhook url": "https://discordapp.com/api/webhooks/xxx",
  "Protocol Webhook url": "https://discordapp.com/api/webhooks/xxx",
  "Wipe message": {
    "Content": "everyone",
    "Embed": {
      "Enabled": true,
      "Title": "{server.name}",
      "Description": "The server has wiped!",
      "Url": "",
      "Embed Color": "#de8732",
      "Image Url": "attachment://map.jpg",
      "Thumbnail Url": "",
      "Fields": [
        {
          "Title": "Seed",
          "Value": "[{world.seed}](https://rustmaps.com/map/{world.size}_{world.seed})",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Size",
          "Value": "{world.size}M ({world.size!km^2}km^2)",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Protocol",
          "Value": "{server.protocol.network}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Click & Connect",
          "Value": "steam://connect/{server.address}:{server.port}",
          "Inline": false,
          "Enabled": true
        }
      ],
      "Footer": {
        "Icon Url": "",
        "Text": "",
        "Enabled": true
      }
    }
  },
  "Protocol message": {
    "Content": "everyone",
    "Embed": {
      "Enabled": true,
      "Title": "{server.name}",
      "Description": "The server protocol has changed!",
      "Url": "",
      "Embed Color": "#de8732",
      "Image Url": "",
      "Thumbnail Url": "",
      "Fields": [
        {
          "Title": "Protocol",
          "Value": "{server.protocol.network}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Previous Protocol",
          "Value": "{server.protocol.previous}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Mandatory Client Update",
          "Value": "This update requires a mandatory client update in order to be able to play on the server",
          "Inline": false,
          "Enabled": true
        },
        {
          "Title": "Click & Connect",
          "Value": "steam://connect/{server.address}:{server.port}",
          "Inline": false,
          "Enabled": true
        }
      ],
      "Footer": {
        "Icon Url": "",
        "Text": "",
        "Enabled": true
      }
    }
  }
}

 



Merged post

now tested on a brand new discord server,also not the problem.

Merged post

Maybe is this ?

https://umod.org/community/sign-artist/5685-sign-artist-faq

im on linux maybe im missing that lib??... shouldnt be.

r1ck

No, i used the config as it is. and tried with new webhooks.

 

{
  "Debug Level (None, Error, Warning, Info)": "None",
  "Command": "dw",
  "Map Render Name": "Icons",
  "Wipe Webhook url": "https://discordapp.com/api/webhooks/xxx",
  "Protocol Webhook url": "https://discordapp.com/api/webhooks/xxx",
  "Wipe message": {
    "Content": "everyone",
    "Embed": {
      "Enabled": true,
      "Title": "{server.name}",
      "Description": "The server has wiped!",
      "Url": "",
      "Embed Color": "#de8732",
      "Image Url": "attachment://map.jpg",
      "Thumbnail Url": "",
      "Fields": [
        {
          "Title": "Seed",
          "Value": "[{world.seed}](https://rustmaps.com/map/{world.size}_{world.seed})",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Size",
          "Value": "{world.size}M ({world.size!km^2}km^2)",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Protocol",
          "Value": "{server.protocol.network}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Click & Connect",
          "Value": "steam://connect/{server.address}:{server.port}",
          "Inline": false,
          "Enabled": true
        }
      ],
      "Footer": {
        "Icon Url": "",
        "Text": "",
        "Enabled": true
      }
    }
  },
  "Protocol message": {
    "Content": "everyone",
    "Embed": {
      "Enabled": true,
      "Title": "{server.name}",
      "Description": "The server protocol has changed!",
      "Url": "",
      "Embed Color": "#de8732",
      "Image Url": "",
      "Thumbnail Url": "",
      "Fields": [
        {
          "Title": "Protocol",
          "Value": "{server.protocol.network}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Previous Protocol",
          "Value": "{server.protocol.previous}",
          "Inline": true,
          "Enabled": true
        },
        {
          "Title": "Mandatory Client Update",
          "Value": "This update requires a mandatory client update in order to be able to play on the server",
          "Inline": false,
          "Enabled": true
        },
        {
          "Title": "Click & Connect",
          "Value": "steam://connect/{server.address}:{server.port}",
          "Inline": false,
          "Enabled": true
        }
      ],
      "Footer": {
        "Icon Url": "",
        "Text": "",
        "Enabled": true
      }
    }
  }
}

 



Merged post

now tested on a brand new discord server,also not the problem.

Merged post

Maybe is this ?

https://umod.org/community/sign-artist/5685-sign-artist-faq

im on linux maybe im missing that lib??... shouldnt be.

It was this ! I was missing that lib that somehow affected the dw protocol command, now it's working fine ! Thanks for the help anyway !
That is super weird that it would affect the protocol command. I'm happy it is resolved now.
Locked automatically