TwentyT
Twenty5mo ago
31 replies
hassaanz

[self hosted] broken after upgrade to 1.3.0

Hi. I am getting this issue and I am unsure how to fix this. Maybe someone can help me? On workspace load, I am getting error in an API call:

Request
{"operationName":"FindManyFavoriteFolders","variables":{},"query":"query FindManyFavoriteFolders($filter: FavoriteFolderFilterInput, $orderBy: [FavoriteFolderOrderByInput], $lastCursor: String, $limit: Int) {\n  favoriteFolders(\n    filter: $filter\n    orderBy: $orderBy\n    first: $limit\n    after: $lastCursor\n  ) {\n    edges {\n      node {\n        __typename\n        createdAt\n        deletedAt\n        id\n        name\n        position\n        updatedAt\n      }\n      cursor\n      __typename\n    }\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n      __typename\n    }\n    totalCount\n    __typename\n  }\n}"}


Response
{
  "errors": [
    {
      "message": "Unable to merge GraphQL type \"Query\": Field \"apiKeys\" already defined with a different type. Declared as \"ApiKey\", but you tried to override with \"ApiKeyConnection\""
    }
  ]
}


It seems like a graphql schema migration issue but I am unable to figure out a fix. I also get the same error in FindManyFavorites query
Was this page helpful?