[GuiService] "SendNotification is not yet enabled" Error

I’m trying the method ‘SendNotification’ that’s within GuiService but I am getting the error:
GuiService:SendNotification is not yet enabled!

How can I fix this?

2 Likes

They might be working on an updated notification system, it’s about time anyways. I think I’ve seen it used in a few games already for badges and such but for now use this.

game:GetService("StarterGui"):SetCore("SendNotification",{
	Title = "Notification Title", -- Required
	Text = "Notification Description", -- Required
	Icon = "rbxassetid://1234567890" -- Optional
})

StarterGui | Documentation - Roblox Creator Hub

That makes sense, I know about SetCore("SendNotification") but thanks anyways

Ok so I did a little digging and it is definitely the new notifications I was referring to.

So this is apparently the new one, it sits neatly in the Top-Right corner but sadly only has support for 1 at a time. If you send multiple request, it basically acts like a queue system.

I can’t figure out what’s actually supported within these parameters but it’s strict thats for sure. These are the three I know for sure works but I haven’t gotten any other ones to go through. I don’t know if its going to stay like this but if you try to send a variable it doesn’t like it errors and drops the whole request. It has a little X button in the top-left when you hover over it and stays on the screen for a good few seconds but you can dismiss it by the ID it returns back to you.

local TestNotification = game:GetService("GuiService"):SendNotification({
    Title = "Notification Title",
    Text = "Notification Description",
    Icon = "rbxassetid://1234567890"
})

The FFlag to enable it is “DeveloperToastNotificationsEnabled2” although it’s not enabled in game yet so I wouldn’t bother. Seems pretty neat still.
(It doesn’t seem to have RichText support either at least that I can figure out, the property is disabled by default on the TextBoxes and using RichText = true as a parameter didn’t do anything but give an error)