Some examples of 1-dimensional characters we often need in our writing: the waiter at the restaurant who brings the MC's lunch, the random passerby glaring at the MC for whatever strange thing they are doing in public, the security guard at the courthouse who won't let the MC into the building, the nurse who changes the MC's bandages while he sulks in the hospital, or the teacher sending the MC to detention. You CAN have nurses, teachers, security guards, etc. who play a bigger role and are more fleshed out as full 3-d characters, but they sometimes work as 1-dimensional.
If you think about it, you probably have 1-dimensional characters in your life too

Like, your family members, friends, landlord, teachers are probably 3-dimensional. But the cashier who rings up your groceries, for instance, you know nothing about him, he's wearing a store uniform, he has no personality when he interacts with you. He's just Generic Guy Who Works In A Store. He's 1-dimensional to you, and that's okay. (In his mind, you know, he's the MC!)