Publish endpoint returning 401 yet I have a valid API key

curl -X POST "https://apis.roblox.com/universes/v1/{universeid}/places/{placeid}/versions?versionType=Published" \
     -H "x-api-key: api_key" \
     -H "Content-Type: application/octet-stream" \
     -H "Accept: application/json" \
     --data-binary "@./build.rbxl"  
{"code":"Unauthorized","message":"User unauthorized to update place. reason: [Unauthorized]."}   

My key has the universe-places:write scope and I am able to open the place in studio and publish versions .

The universe and place ids are also correct.

Setting versionType=Saved works with the same api key and ids

Endpoint Docs https://create.roblox.com/docs/cloud/reference/features/universes#Places_CreatePlaceVersionApiKey

1 Like

Hello, thanks for the report. To help investigate this, what is your user ID and the universe ID you are trying to publish to? thanks

userid : 1607726081
experience id : 9691784189