OHDSI Home | Forums | Wiki | Github

[WebAPI] ATLAS->Concept Set->Compare Concept Sets: 500 Error

When I try to compare concepts sets in ATLAS, I get the error:

jquery-1.11.2.min.js?_=kt7xch:4 
POST http://54.242.168.196/WebAPI/vocabulary/CS1/compare 500 (Internal Server Error)
send @ jquery-1.11.2.min.js?_=kt7xch:4
ajax @ jquery-1.11.2.min.js?_=kt7xch:4
compareConceptSet @ VocabularyProvider.js?_=kt7xch:243
self.compareConceptSets @ conceptset-manager.js?_=kt7xch:791
(anonymous) @ knockout.min.js?_=kt7xch:83
dispatch @ jquery-1.11.2.min.js?_=kt7xch:3
r.handle @ jquery-1.11.2.min.js?_=kt7xch:3

When I run the url directly in WebApi, the JSON results contains:

 "response":{  
         "context":{  
            "headers":{  
               "Allow":[  
                  "POST,OPTIONS"
               ]
            },
            "entity":null,
            "entityType":null,
            "entityAnnotations":[  

            ],
            "entityStream":{  
               "committed":false,
               "closed":false
            },
            "acceptableMediaTypes":[  
               {  
                  "type":"*",
                  "subtype":"*",
                  "parameters":{  

                  },
                  "quality":1000,
                  "wildcardType":true,
                  "wildcardSubtype":true
               }
            ],
            "links":[  

            ],
            "allowedMethods":[  
               "POST",
               "OPTIONS"
            ],
            "stringHeaders":{  
               "Allow":[  
                  "POST,OPTIONS"
               ]
            },
            "entityTag":null,
            "mediaType":null,
            "acceptableLanguages":[  
               "*"
            ],
            "requestCookies":{  

            },
            "responseCookies":{  

            },
            "entityClass":null,
            "lengthLong":-1,
            "lastModified":null,
            "date":null,
            "committed":false,
            "length":-1,
            "language":null,
            "location":null
         },
         "status":405,
         "metadata":{  
            "Allow":[  
               "POST,OPTIONS"
            ]
         },
         "links":[  

         ],
         "allowedMethods":[  
            "POST",
            "OPTIONS"
         ],
         "stringHeaders":{  
            "Allow":[  
               "POST,OPTIONS"
            ]
         },
         "statusInfo":"METHOD_NOT_ALLOWED",
         "entityTag":null,
         "entity":null,
         "mediaType":null,
         "lastModified":null,
         "date":null,
         "cookies":{  

         },
         "length":-1,
         "language":null,
         "location":null,
         "headers":{  
            "Allow":[  
               "POST,OPTIONS"
            ]
         }
      },
      "message":"HTTP 405 Method Not Allowed",
      "localizedMessage":"HTTP 405 Method Not Allowed",
      "suppressed":[  

      ]
   },
   "headers":{  
      "id":"2229c45c-b70f-f0ec-dc68-d9cd7dae941f",
      "timestamp":1523467968099
   }
}

To recreate this error on the OHDSI ATLAS site, go to Concept Sets, select concept_id 1744875, click on Compare tab, and for concept 2, select 1744843, although it seems that the error occurs no matter what I select.

Hi @ssrobertson - sorry for the trouble here. That was a bug that has been fixed but has yet to be officially released to the public Atlas site. Here is the issue on GitHub:

We’re planning to address this with the upcoming V2.4 release of Atlas targeted for May 1.

t