Git Product home page Git Product logo

Comments (1)

effigies avatar effigies commented on July 19, 2024

Attempting to run the following query fails:

query snapshot($datasetId: ID!, $tag: String!) {
  snapshot(datasetId: $datasetId, tag: $tag) {
    id
    downloadFiles {
      id
      directory
      filename
      urls
      size
    }
  }
}

With variables: {"datasetId": "ds003097", "tag": "v1.2.1"}

Getting response:

{
  "data": {
    "snapshot": null
  },
  "errors": [
    {
      "message": "Not Found",
      "locations": [
        {
          "line": 2,
          "column": 5
        }
      ],
      "path": [
        "snapshot"
      ],
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "stacktrace": [
          "Error: Not Found",
          "    at Request.callback (/srv/.yarn/cache/superagent-npm-3.8.3-8bdf672d54-b13d030325.zip/node_modules/superagent/lib/node/index.js:706:15)",
          "    at /srv/.yarn/cache/superagent-npm-3.8.3-8bdf672d54-b13d030325.zip/node_modules/superagent/lib/node/index.js:916:18",
          "    at IncomingMessage.<anonymous> (/srv/.yarn/cache/superagent-npm-3.8.3-8bdf672d54-b13d030325.zip/node_modules/superagent/lib/node/parsers/json.js:19:7)",
          "    at /srv/.yarn/cache/elastic-apm-node-npm-4.3.0-65b27adc8a-b0a257800e.zip/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:49",
          "    at AsyncLocalStorage.run (node:async_hooks:327:14)",
          "    at AsyncLocalStorageRunContextManager.with (/srv/.yarn/cache/elastic-apm-node-npm-4.3.0-65b27adc8a-b0a257800e.zip/node_modules/elastic-apm-node/lib/instrumentation/run-context/AsyncLocalStorageRunContextManager.js:57:36)",
          "    at IncomingMessage.wrapper (/srv/.yarn/cache/elastic-apm-node-npm-4.3.0-65b27adc8a-b0a257800e.zip/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:23)",
          "    at IncomingMessage.emit (node:events:526:35)",
          "    at endReadableNT (node:internal/streams/readable:1359:12)",
          "    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"
        ]
      }
    }
  ],
  "extensions": {
    "openneuro": {
      "version": "4.22.0"
    }
  }
}

from openneuro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.