Restapi error "http 500" during model subscription