GDPR Discord Bot failing to remove the player data

I’ve set up a Discord Bot to remove player data when a GDPR is requested.

Webhooks invoked are being received by the Bot, but it keeps sending messages on the data failing to be removed.

The code I used is all outlined in the tutorial linked here:
Automating Right to Erasure Requests | Documentation - Roblox Creator Hub

I believe it does not have to do anything with my Webhooks nor my Discord Bot application settings…
So does it have to do something with my Cloud API Key? Here are my Cloud API Key settings:
Status → Active
API System → DataStorage
Experience Operations → All operations enabled
Specific data store Operations → False
Accepted IP Addresses → [My IP]

It is also to note that I have set up my DataStorage using ProfileService, but it is a Roblox DataStore wrapper module so it shouldn’t really be an issue.

Any help is appreciated. Thanks in advance!

I found that I named the Key incorrectly, (From “Player_{user_id}” to “global/Player_{user_id}”) and now it seems to be removing ordered data stores, but not the standard data stores…but the actual player data still does not seem to be removing it self from the DataStorage in-game for some reason.

I am getting a <Response [404]> as the response return when requesting to delete standard data storages.

Here is my updated botconfig.py in case it may help (Edited slightly because of private data, tokens, and keys):

DISCORD_BOT_TOKEN = ""
OPEN_CLOUD_API_KEY = ""
ROBLOX_WEBHOOK_SECRET = ""

# Dictionary of the Start place ID to
# (universe ID, list of (data stores name, scope, and entry key)) for
# Standard Data Stores
# User data stored under these entries will be deleted

STANDARD_DATA_STORE_ENTRIES = {
    # Start Place ID
    12312313123: (
        # Universe ID
        12312312321,
        [
            ("TestDataStorage", "global", "global/Player_{user_id}"),
        ]
    ),
}

# Dictionary of the Start place ID to
# (universe ID, list of (data stores name, scope, and entry key)) for
# Ordered Data Stores
# User data stored under these entries will be deleted

ORDERED_DATA_STORE_ENTRIES = {
    123123123123: (
        1231313123,
        [
            ("TestDataStorage", "global", "global/Player_{user_id}"),
        ]
    ),
}

I got it to work finally! (I was debugging for a solid 8 hours :yawning_face:) Make sure your Start Place ID, Universe ID, data stores name, scope, entry key, and Open Cloud API key and permissions are correct.

If you have any questions feel free to DM.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.