Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

why do i get this error saying API Services rejected request with error with my datastore?

My datastore script keeps giving me this error each time i run it

17:47:25.017 - 502: API Services rejected request with error. HTTP 403 (Forbidden)

when i check where the error is it brings me to this line

Clicks.Value = ClickSave:GetAsync(player.UserId) or 0

Can someone explain this error and what i need to do to fix it?

1 answer

✓ Accepted answer

Hello! This error occurs when datastore is not enabled. Go to home, game settings, security, allow studio access to API services. I hope this helped :)

This discussion is preserved as it was. New answers, comments, and votes are closed.