Mike got it,
I think what happened was you left a majority of APC, in the carpet fibers. A shop vacuum doesn’t really suck it out. Which is the smell you getting.
What you need to do is what Mike said, spray it with straight water and get it out with an extractor. Get that APC right out of the...