3개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
[quote="kerg, post:1, topic:9893"] defaultRuleSet [/quote]
Thanks for the help, I found a line I had missed in the logged error which specified that the configuration was wrong - I'd been using the ruleset name and not the config name. Silly of me - working now, thanks.
답변함 3년 전
0
Whats the error message you get back?
StartMatchmaking will throw a 400 (according to docs) because:
InvalidRequestException
One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
HTTP Status Code: 400
NotFoundException
A service resource associated with the request could not be found. Clients should not retry such requests.
HTTP Status Code: 400
UnsupportedRegionException
The requested operation is not supported in the Region specified.
HTTP Status Code: 400
I would try the obvious:
- Ensure your request is going to us-west-2 and not a us-east-1 (ie did you set the region in config?)
- Ensure your matchmaker rule set is actually called defaultRuleSet
- Ensure your credentials have permission to call StartMatchmaking etc.
Knowing actual error will really help track this down.
답변함 3년 전
0
Just noticed you are catching an InvalidRequestException
so it means your passed parameters are wrong.
What does your line Debug.Log(e.StatusCode.ToString() + " :( startMatchMaking FAILED. InvalidRequestException " + e.Message);
print?
답변함 3년 전