health insurance

My primary health provider has always been in network and I’ve paid a small co-pay for my appointments. I now got slapped with 2 large bills from insurance claiming they paid $0 because the doc is out of network. This is MID YEAR. I was never given notification or warning. Is that legal?