RADAR-base / RADAR-RestApi

RESTful interface to access near real-time data
Apache License 2.0
2 stars 0 forks source link

Duplicate key SourceTypeDTO (500 Error) #104

Closed herkulano closed 6 years ago

herkulano commented 6 years ago

Error in API: https://radar-backend.co.uk/api/projects/BioIT-Demo/subjects

{error: "server_error", message: "class java.lang.IllegalStateException: Duplicate key SourceTypeDTO{ producer='THINCIT IIRC', model='THINCIT', catalogVersion='1.0.0', sourceTypeScope='ACTIVE', canRegisterDynamically='true', name='THINCIT', description=ThincIt Cognition in Depression app., appProvider=null, assessmentType=null}."}
yatharthranjan commented 6 years ago

Hi Herc, can you try again now?. It was inserted as a duplicate id probably because of an attempt of migration to another postgres docker image version. I have manually removed the duplicate records from the database.

herkulano commented 6 years ago

@yatharthranjan works! 💯