So I have been experimenting with the develop api, and have been trying to use the universe configuration api (Develop Api). I have tried using it both in my code and in the api page itself, however I keep getting the same error on both, the following is my code:
universeId = 'id of my universe is here'
session.patch(''.join(['https://develop.roblox.com/v2/universes/',universeId,'/configuration']),
json = {
"allowPrivateServers": True,
"privateServerPrice": 0,
"name": "test",
"description": "test",
"universeAvatarType": "MorphToR6",
"universeAnimationType": "Standard",
"universeCollisionType": "InnerBox",
"universeJointPositioningType": "Standard",
"isArchived": False,
"isFriendsOnly": False,
"genre": "All",
"playableDevices": [
"Computer",
'Phone',
'Tablet',
'Console'
],
"isForSale": False,
"price": 0,
"universeAvatarAssetOverrides": [
{
"assetID": 0,
"assetTypeID": 0,
"isPlayerChoice": True
}
],
"universeAvatarMinScales": {
"height": 0,
"width": 0,
"head": 0,
"depth": 0,
"proportion": 0,
"bodyType": 0
},
"universeAvatarMaxScales": {
"height": 0,
"width": 0,
"head": 0,
"depth": 0,
"proportion": 0,
"bodyType": 0
},
"studioAccessToApisAllowed": True,
"permissions": {
"IsThirdPartyTeleportAllowed": False,
"IsThirdPartyAssetAllowed": False,
"IsThirdPartyPurchaseAllowed": False
},
"optInRegions": [
"Unknown"
],
"optOutRegions": [
"Unknown"
]
})
The error I get in both the api page and in my code is the following:
{
"errors": [
{
"code": 0,
"message": "InternalServerError"
}
]
}
Any help would be appreciated