debug cors upload