'failed to upload template (code 0)' when trying to build template from the aggregator UI