- validate domain setting
- validate API URL