feat(index): check if configId exists in sapi resource on init