Skip to content

[Sandbox] API returns error for card listing #32

@stevebissett

Description

@stevebissett

Level: Medium see issue priorities

Describe the bug:

On the sandbox environment, the card listing endpoint returns an error when listing cards.

Steps To Reproduce:

  1. In the Postman collection using PB Sandbox credentials.
  2. Run the auth request
  3. Execute the GET {{host}}/za/v1/cards
  4. See error

Expected behaviour:

GET {{host}}/za/v1/cards

Expected Response Structure (from OpenAPI spec):

{
  "data": {
    "cards": [...]
  },
  "links": {...},
  "meta": {...}
}

Actual behaviour:

GET {{host}}/za/v1/cards

Actual Response Structure:

{
  "data": {
    "cards": "Error"
  },
  "links": {"self": null},
  "meta": {"totalPages": 1}
}

Additional context

  • Verified in sandbox environment using Postman and with a Python client.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions