Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

502: API Services rejected request with error. HTTP 0 (HTTP 429)?

Asked by
karbis 50
4 years ago

ok everytime it sets the async for a data store it just does that how do i fix it

0
This is an error that occurs when you're team creating a place you do not own. Mr_Unlucky 1085 — 4y
0
im not team creating karbis 50 — 4y

1 answer

Log in to vote
1
Answered by
gskw 1046 Moderation Voter
4 years ago

The error code you're seeing is 429 Too Many Requests. In the case of DataStores, this simply means that your game is trying to call SetAsync() (i.e. set a value asynchronously) too often, or generally tries to access DataStores too often. The reasons why this might be are many; you might be accidentally calling it too often in a for loop, or there might be a design flaw with your approach to implementing DataStore usage.

0
i dont have a for loop karbis 50 — 4y
0
It's completely possible that the issue lies somewhere completely different, I only used for loops as an example. If you need help with debugging the issue, you could update your question with more details about how your code uses DataStores. gskw 1046 — 4y
0
all they do is press a click detector once and its done karbis 50 — 4y
0
I just checked the Wiki, and it seems that you must allow 6 seconds between calls to SetAsync: https://developer.roblox.com/en-us/articles/Datastore-Errors gskw 1046 — 4y
Ad

Answer this question