Skip to content

Invalid Address when calling /erc721/claim-conditions/get-all #895

Closed as not planned
@iggyiccy

Description

@iggyiccy

Hi Team,

When calling the endpoint /erc721/claim-conditions/get-all we are getting error message is not a valid address. This endpoint was previously working for months.

curl -X 'GET' \
  'https://www.sample.com/contract/11155111/0xF43AD0bbA56b177e0DbE96b40088D5a817efb56F/erc721/claim-conditions/get-all' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer xxx' \
  -H 'ngrok-skip-browser-warning: true'
{
  "error": {
    "message": "Invalid input",
    "reason": {
      "code": "invalid_union",
      "unionErrors": [
        {
          "issues": [
            {
              "code": "custom",
              "message": " is not a valid address",
              "fatal": true,
              "path": [
                "fee_recipient"
              ]
            }
          ],
          "name": "ZodError"
        },
        {
          "issues": [
            {
              "code": "custom",
              "fatal": true,
              "path": [
                "fee_recipient"
              ],
              "message": "Invalid input"
            }
          ],
          "name": "ZodError"
        }
      ],
      "path": [
        "fee_recipient"
      ],
      "message": "Invalid input"
    },
    "code": "BAD_REQUEST",
    "statusCode": 400
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions