I've found a couple of bugs in API v2024-01

Hi devs.
I’ve found a couple of bugs in API v2024-01.

1. creator is null in items object.

The query

{
  items(ids: 12345) {
    creator {
      name
    }
}

returns "creator": null.

2. Despite what’s written in the documentation, retrieving the creator in a CreationLogValue rises an error.

The query

{
  items(ids: 12345) {
   column_values {
     ... on CreationLogValue {
        creator {
          name
        }
      }
    }
  }
}

returns

{
  "errors": [
    {
      "message": "The string did not match the expected pattern.",
      "stack": ""
    }
  ]
}

Can you confirm you are experiencing the same problem?

Here is my query:

{
  items(ids: 123123123) {
    creator {
      name
    }
    column_values(types: [creation_log]) {
      ... on CreationLogValue {
        creator {
          name
        }
      }
    }
  }
}

and the response:

{
  "data": {
    "items": [
      {
        "id": "123123123",
        "creator": {
          "name": "Cody F."
        },
        "column_values": [
          {
            "creator": {
              "name": "Cody F."
            }
          }
        ]
      }
    ]
  }
}

I am just filtering it by creation_log column type so I don’t get other columns back, but it works without the type filter on columns the same.

2 Likes

Based on what Cody said, @rob I think you’re facing an account-level bug. Can you raise it with our team using the API support form?

Link to form

1 Like

Done. Thank you, @dipro .

1 Like