When trying to queue an allocation for a Multiplay Server, I am receiving a response code of 400, and I am unsure why. I’ve been banging my head against a wall for the past few days trying to figure out why I am receiving this response so I figured I would reach out here after not making any progress. I have tried sending the API request both through Postman, and the Server program itself.
I am sending the request to this endpoint: https://multiplay.services.api.unity.com/v1/allocations/projects/{projectId}/environments/{environmentId}/fleets/{fleetId}/allocations
This is what the request I’m sending looks like:
(Headers)
(Body)
(Response)
I have double and triple checked to make sure that the projectId, environmentId, fleetId, buildConfigurationId, and authorization bearer token are all accurate. I have created the Bearer Token with the scopes = new[ ] { “multiplay.allocations.create”} property. I am sure the Bearer Token is working correctly because if I use a bad token I will get an Error 401 Unauthorized.
Please let me know if there is any other information I can provide!
Thanks