Error while syncing metric details from gateway to portal