Skip to content

AWS Gamelift REST API request\response issue #3430

Open
@NikolayKhramov1

Description

@NikolayKhramov1

Describe the bug

Hello! Need help.
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"]}

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Success responce using rest api. Need help.

Current Behavior

Responsecode 400 without any message on PS5 platform using rest api.

Reproduction Steps

See the Describe the bug section.

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

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.

Compiler and Version used

VS2022

Operating System and version

PS5

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-problemproblems with building this sdkresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions