Trouble updating a CloudAPI OrderedDataStore entry

I’m having trouble with the OrderedDataStore CloudAPI Update feature:

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" })