Skip to content

Issue with AWS Gamelift API request #20

Description

@NikolayKhramov1

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.

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"]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions