Skip to content

✅ Fix SDK test by updating content of 401 response for GET /me#142

Merged
iamishan9 merged 2 commits intomainfrom
fix-php-sdk-test
Aug 5, 2025
Merged

✅ Fix SDK test by updating content of 401 response for GET /me#142
iamishan9 merged 2 commits intomainfrom
fix-php-sdk-test

Conversation

@gricher-crto
Copy link
Contributor

@gricher-crto gricher-crto commented Jul 29, 2025

Get */me endpoint returns a different body for 401 responses compared to what is expected in the test, example:

{
  "warnings": [],
  "errors": [
    {
      "traceId": "ec035ee3e7483161d6640df66f0f842b",
      "traceIdentifier": "ec035ee3e7483161d6640df66f0f842b",
      "type": "authorization",
      "code": "authorization-token-missing",
      "instance": "/api/v1/me",
      "title": "The authorization header is missing"
    }
  ]
}

@gricher-crto gricher-crto requested a review from ttembou July 30, 2025 17:24
@iamishan9 iamishan9 merged commit b5256b0 into main Aug 5, 2025
1 check passed
@gricher-crto gricher-crto deleted the fix-php-sdk-test branch August 26, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants