General guidelines for error and troubleshooting