macrogenerate http errors