api-troubleshooting