Direct Transfer snippets_repository Graphlient::Errors::ExecutionError

This error happens when Snippets are not enabled for the project

Follow an example of the GraphQL response

{
  "errors": [
    {
      "graphQLErrors": [
        {
          "message": "Snippets are not enabled for this Project",
          "locations": [
            {
              "line": 3,
              "column": 5
            }
          ],
          "path": [
            "project",
            "snippets"
          ]
        }
      ],
      "clientErrors": [],
      "networkError": null,
      "message": "Snippets are not enabled for this Project",
      "stack": "Error\n    at new ApolloError2 (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-IDMMN5OQ.js?v=d920bf47:3251:28)\n    at https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-IDMMN5OQ.js?v=d920bf47:4764:21\n    at Object.next (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1449:25)\n    at notifySubscription (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1290:18)\n    at onNotify (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1328:3)\n    at SubscriptionObserver2.next (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1383:9)\n    at https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1834:23\n    at Array.forEach (<anonymous>)\n    at iterateObserversSafely (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1833:23)\n    at Object.next (https://gdk.test:3000/vite-dev/@fs/Users/rodrigotomonari/Sites/gitlab-development-kit/gitlab/tmp/cache/vite/deps/chunk-OAM3CJER.js?v=d920bf47:1961:15)"
    }
  ]
}
Edited Mar 07, 2025 by Rodrigo Tomonari
Assignee Loading
Time tracking Loading