Fixed for "User-Agent Header is required" error