A teenager was arrested after reports that a restaurant worker was racially abused.
The incident happened in West Gate, Mansfield, and was immediately reported to passing PCSOs.
Several officers were then assaulted as a suspect was detained at around 6.10 pm on Sunday evening.
A 15-year-old boy was arrested on suspicion of a racially aggravated public order offence.
He was also detained on suspicion of four assaults on police officers
He was later released on conditional police bail.
A crowd of around ten other teenagers was also dispersed from the scene.
Inspector Kylie Davies, district commander for Mansfield, said: “Racial abuse is totally unacceptable and will never be tolerated by Nottinghamshire Police.
“If people behave in this way they will be arrested and they will face the consequences. Likewise, if people lash out and assault police officers they will also be dealt with robustly.
“The officers involved in this incident did an excellent job in challenging circumstances and were very quickly on the scene.
“I was extremely disappointed, however, in the behaviour of a sizable group of teenage boys who were obstructive and abusive throughout.
“We are working hard to clamp down on antisocial behaviour in the town centre and have deployed an enhanced series of patrols to make this area a better place to work in and to visit.
• City councillors vote for their own 7% allowances increase
• Nottingham Castle reopening to be confirmed later this month
“I would also urge parents to play their part in this work by questioning where their teenage children are in the evenings and taking appropriate action to dissuade them from behaving antisocially in the town centre or elsewhere.”