The official website for The Settlers of Catan

Question about Base Game Resource Cards - In case not enough Resource Cards of a certain type are available, does a player get nothing even if he is the only one to receive this resource?

Answer

No. In this case, he receives all available Resource Cards of this type.