A Fire and Emergency New Zealand spokesman said firefighters were called to put out a suspicious fire burning on the outside wall of the school, in Macandrew Rd, at 1.39pm.
Firefighters extinguished the blaze with "no problem". The fire was being treated as suspicious and a fire investigator was notified.
"I don’t believe it was a major fire and there was little to no damage to the building," he said.
The spokesman later said police had identified two individuals in relation to the fire.
Bathgate Park School principal Katrina Robertson said it was upsetting to hear what had happened.
"We are saddened this has happened in our school community, but we are appreciative and grateful for the quick response from those that spotted the fire and alerted the fire brigade."