Genie Community Forum

Invalid Developer Key

Hi,
I’m trying to “download-string-values”. I’ve copied the Thingpedia Developer key from https://almond.stanford.edu/user/profile .
Is my developer key not valid anymore? What could be the issue here?. Thanks in advance.

root@760a5b584cc3:/projects/downloads/experiment_dir# genie download-string-values --developer-key $DEVELOPER_KEY -d parameter-datasets/ --manifest parameter-datasets.tsv --append-manifest --debug
HTTP request failed: {"error":"A valid developer key is required to download string datasets","code":"EPERM"}
/repos/genie-toolkit/dist/tool/genie.js:40
process.on('unhandledRejection', (up) => { throw up; });
                                           ^

HTTPError: Unexpected HTTP error 403 in request to https://dev.almond.stanford.edu/thingpedia/api/v3/strings/list/com.giphy:tag?locale=en-US&developer_key=feae8df9892*******************************************************************
    at IncomingMessage.<anonymous> (/repos/genie-toolkit/node_modules/thingpedia/dist/helpers/http.js:134:35)
    at IncomingMessage.emit (events.js:388:22)
    at endReadableNT (internal/streams/readable.js:1336:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  code: 403,
  url: 'https://dev.almond.stanford.edu/thingpedia/api/v3/strings/list/com.giphy:tag?locale=en-US&developer_key=feae8df9892*******************************************************************',
  detail: '{"error":"A valid developer key is required to download string datasets","code":"EPERM"}'
}

By default, recent versions of genie refer to dev.almond.stanford.edu (the development server) instead of almond.stanford.edu, so the developer key you have is not the valid one.

This will change in a couple days (Tuesday/Wednesday) when we make the new release and the stable server is updated.

1 Like