appid not found in headers or query string