more specific error catching for post