When request return "Forbidden" library  fails

When request return "Forbidden" library  fails to parse string as a JSON