I’m working on a recreation of the legacy chat system interface that uses TextChatService. In the process of trying to create a TextChannel for a whisper, I found that the AddUserAsync call always fails in this scenario with the following error:
Update: Immediately found the cause of this error after posting; creating a TextChannel and calling AddUserAsync before parenting it to TextChannels will cause this error. Still leaving the post up as the error message is inaccurate.
Please can you check to see if this bug has been fixed @focia19 - It’s disheartening that even with what was proven to be a working open-source solution, we still can’t escape ROBLOX’s issues.
Context: We found this can happen regardless of when the channel is parented if the calling ModuleScript and called ModuleScript are loaded too closely together. We had to change the loading process of our ModuleScript AssetService to be in the list of Core services, instead of regular services for our game systems.
It seems to be reliant on when things load in for us.