Thanks all. I guess the "90 day limit" probably caused the error for me. Not wanting to give up my passport, we will just get the visa at the chinese embassy.