I’m having trouble with the OrderedDataStore CloudAPI Update feature:
-
Why won’t entry updates actually update the value?
It’s returning successfully giving me the expected results. But when I check that entry nothing has changed. -
This is what I’m trying to use
Ordered Data Stores (Beta) | Documentation - Roblox Creator Hub
I’ve used the curl command from the official documentation which also did not work
I know it’s a little messy, but this is the problem maker.
def update(self, entry, val): # Update single entry to value
patch(f"https://apis.roblox.com/ordered-data-stores/v1/universes/{ self.sys['universe_id'] }/orderedDataStores/{ self.table }/scopes/{ self.scope }/entries/{ entry }",
dumps({ "value": int(val), "allow_missing": True }),
headers= { "x-api-key": self.key, "Content-Type": "application/json" })