Could not set implied open: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Location"]