AWS Gamelift REST API request\response issue #3429
Unanswered
NikolayKhramov1
asked this question in
Q&A
Replies: 2 comments
-
Issue created here: #3430 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I have faced issue with AWS Gamelift API request\response.
The problem is that on the PS5 platform, I get a response 400 without any message.
On Windows in Unreal Engine editor this request works properly and get 200 response.
I was following the documentation for REST API communication(https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html) because PS5 is not supported in aws cpp sdk.
Here is what I generate for singing a request:
CanonicalString:
POST
/
content-type:application/x-amz-json-1.1
host:gamelift.eu-central-1.amazonaws.com
x-amz-date:20250520T094054Z
x-amz-target:GameLift.DescribeGameSessionQueues
content-type;host;x-amz-date;x-amz-target
5dcfb2a7d92cb638dd1277905f6b4f665e048f60d6a22d7e7027790e3cf528a8
StringToSign:
AWS4-HMAC-SHA256
20250520T094054Z
20250520/eu-central-1/gamelift/aws4_request
f73adef39cd9458c0a297d2d229579073758ccc6e70f5b11364a603ddc712f46
Here is what I send in the request:
Request URL: https://gamelift.eu-central-1.amazonaws.com
Request Headers:
X-Amz-Date: 20250520T094054Z
X-Amz-Target: GameLift.DescribeGameSessionQueues
Content-Type: application/x-amz-json-1.1
Host: gamelift.eu-central-1.amazonaws.com
Authorization: AWS4-HMAC-SHA256 Credential=AKIAVAW6XXXXXXXXXX/20250520/eu-central-1/gamelift/aws4_request, SignedHeaders=content-type;host;x-amz-date;x-amz-target, Signature=04f2cf568934ba1c192878460cb265ed6d4ee7830a4913ac74ec7f5d6a429633
Request Body: {"Names":["MyFleetQueue"]}
Beta Was this translation helpful? Give feedback.
All reactions