Just started getting a HTTP 400 bad request error

Hey, so I made a bug reporting system awhile ago that integrates with my Discord server.

I was just testing it, only to find out it doesn’t work anymore…

No clue why, here’s the embeds I’m sending through HttpService, not sure if I messed something up:

local embeds = {
		["embeds"] = {{
			["image"] = {["url"] = game.Players:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size150x150)};
			["title"] = player.Name.." has filed a bug report with title: "..report.title;
			["description"] = report.body;
		}};
	}

Thanks :slight_smile:

1 Like

You might need to add “content” & make it an empty string.

Here’s a solution to an old thread almost identical to yours.

2 Likes

I appreciate the reply, but it didn’t work.

This is incredibly bizarre, I believe it used to work and now it doesn’t.

1 Like

for your case I would use:
"https://www.roblox.com/avatar-thumbnail/image?userId="..player.UserId.."&width=150&height=150&format=png"

3 Likes