Failed to collect data error?

You can write your topic however you want, but you need to answer these questions:
How can I fix this weird data collecting issue?

Whenever people join my game it says “Failed to collect data” and instantly kicks them out. Some people can join and some can’t cause of this error.

I searched this up and looked in the scripts for the game and I can’t find anything about this error.
pitch.rbxl (5.3 MB)
If someone could please find the error that would be greatly appreciated.

1 Like

This is an uncopylocked game, so I didn’t make most scripts.

It’s in Chat > ChatScript > ChatMain

You could maybe comment out the line that kicks the player, and just print a warning there - but other things might also break.

1 Like

Thank you for finding the error bro, i’ll try removing it.

1 Like


But now it just gives my friend this after i commented the line idk if its something with the player or what cause it cant find data. pls help

Yes, sorry. Commenting out is only going to prevent players getting kicked.

I messed around with it some more. It looks like the data should be loading, but you need to enable studio access to API service, in the game settings, under security.

Further note:
There doesn’t seem to be too much that works in the game though… a lot of errors.
This particular error is caused because its not finding the “Data” as a child of the player object.
It should be added to the player object by the server - which it appears it does that here:
(as long as studio access to api services is enabled)

Kind of confusing to jump in and look at everything, but hopefully you can get a understanding.
Best wishes.

I don’t know then cause the API service thing has been on. I don’t understand it happens to some people but not everybody.

As you said this is an uncopylocked game, maybe most of scripts are Deprecated by now.

1 Like

True, but I just don’t get this. It worked way before but now theres just this random issue.