OHDSI Home | Forums | Wiki | Github

Error when trying to access the WebAPI for testing


(Chris Knoll) #21

I’d put a pre-1 step: configure your database: create user accounts, create schemas, ensure proper permissions.

There is some warm up caching that will read the source table to determine if any vocabulary sources are defined, and it will cache some information, but the source table can be empty.

Of course! Just insert the appropriate records in source and source_daimon. However, you will need to manually call a ‘refresh’ endpoint to clear the WebAPI cache:

To list sources: /WebAPI/source/sources
To refresh cache: /WebAPI/source/refresh


(Sarath Manikonda) #22

Thanks a lot.
That helps clear the queries I had when reviewing the log.


t