Cannot save updates to existing API Key

When editing an existing API Key, such as one used for our GDPR deletion system, the “Save Changes to Key” button yields no visual indication of success or failure. Upon checking the Network tab in the console, it seems this PATCH query to https://apis.roblox.com/cloud-authentication/v1/apiKey is failing with 400 Bad Request:

{"code":3,"message":"Response.InvalidNameOrDescription","details":[]}

I tried updating another key, and got the same result. Creating a new key and saving changes seems to work, though.

Expected behavior

I would expect a visual error to appear indicating something went wrong, else you may think the change succeeded, when it indeed did not. Secondly, I would expect it to allow me to save the changes I have made.

Page URL: https://create.roblox.com/dashboard/credentials?groupId=5273516&activeTab=ApiKeysTab

Hi, thank you for bringing this up. I just tested updating a couple of keys and was able to add new API Systems and update the description. What fields did you try to edit? Do you know what API Systems your key already had permissions on?

I added a new game to the list of games with the scopes for List Datastores, and Delete Entry. This key is used for GDPR deletion requests to clean out the datastore for a deleted player. It has 77 games listed in the key, but I do not think it’s the amount that is the issue either, as I was unable to update another old key with but a few games inside it.

Could you try to update the name or description of the key? I am not sure why this is happening now, but the error indicates that your name or description may be being filtered.

I will add a ticket for us to display these error messages better

Sure enough, deleting the description fixed the issue. Is this text filtering even needed for API keys which are internally used? Our description was:

Access to read datastores and delete entries in response to a GDPR delete request for a user.

Every single word after the first “delete” seems to get filtered. “datastores” is also filtered, but “data stores” works. I’m just going to delete the description since it’s not allowing me to write anything descriptive. This is definitely odd, and would still suspect something is going wrong since my description worked for many months prior.

Thank you for filing a ticket to improve error handling since there’s none currently, which is confusing at first.

1 Like