Common errors

  • Source error
                                        
                                          {
                                                "token": "eJtdWrIisOiJt...",
                                                "authorized": false,
                                                "authorizationMessage": "DNERR_06003: Cannot read the token's email property. Please verify!",
                                                "responseCode": "200",
                                                "responseMessage": "OK",
                                                "errorsFound": [
                                                    {
                                                        "errorCode": "404",
                                                        "errorStatus": "RESOURCE_NOT_FOUND",
                                                        "message": "Could not find resource. Source was not found. Check the DISNET source list.",
                                                        "parameter": {
                                                            "name": "source",
                                                            "required": true,
                                                            "defaultValue": false,
                                                            "value": "webmd"
                                                        }
                                                    }
                                                ],
                                                "data": null
                                            }
                                        
                                    
  • Snapshot error
                                        
                                {
                                    "token": null,
                                    "authorized": false,
                                    "authorizationMessage": null,
                                    "responseCode": "200",
                                    "responseMessage": "OK",
                                    "errorsFound": [
                                        {
                                            "errorCode": "404",
                                            "errorStatus": "RESOURCE_NOT_FOUND",
                                            "message": "Could not find resource. The given snapshot was not found. Check the endpoint /pheno/snapshots to get  all snapshot for a specific source.",
                                            "parameter": {
                                                "name": "version",
                                                "required": true,
                                                "defaultValue": false,
                                                "value": "2020-01-11"
                                            }
                                        }
                                    ],
                                    "data": null
                                }
                                        
                                    
  • Snapshot format error
                                        
                                            {
                                                "token": null,
                                                "authorized": false,
                                                "authorizationMessage": null,
                                                "responseCode": "200",
                                                "responseMessage": "OK",
                                                "errorsFound": [
                                                    {
                                                        "errorCode": "400",
                                                        "errorStatus": "INVALID_PARAMETERS",
                                                        "message": "A required parameter for this API operation is invalid or has not been provided. Wrong snapshot format '2020-0111'"
                                                    }
                                                ],
                                                "data": null
                                            }
                                        
                                    
  • Disease id error
                                        
                                            {
                                                "token": null,
                                                "authorized": false,
                                                "authorizationMessage": null,
                                                "responseCode": "200",
                                                "responseMessage": "OK",
                                                "errorsFound": [
                                                    {
                                                        "errorCode": "404",
                                                        "errorStatus": "RESOURCE_NOT_FOUND",
                                                        "message": "Could not find resource. No diseases where found with id DIS000441 in the given source and snapshot."
                                                    }
                                                ],
                                                "data": null
                                            }