The Scottish Qualifications Authority (SQA) has made a formal apology to a group of students from the country who received the wrong marks after submitting their Higher exams this year.
Some 34 pupils were given incorrect scores for their Religious, Moral and Philosophical Studies exams following an administration error.
An SQA spokesman said that the mistakes were discovered after a review of the papers of the 3,804 candidates who sat the test and those affected by wrong marking will receive a personal apology from the organisation.
"The review showed that there had been an admin error when marks were input to the central system. It was a human admin error, not systemic," he explained.
According to the exam board, it handled nearly two million exam papers from around 160,000 candidates this year and indicated that the scale of the operation meant that human error was a possibility.
"Nevertheless, this shouldn't have happened and we apologise to the candidates concerned," the spokesman added.
The SQA added that it will be in contact with UCAS with regards to the errors if it is necessary.
Pupils outside of Scotland affected by exam paper errors this year were recently reassured by qualifications watchdog Ofqual that their grades will not suffer as a result after measures were put in place that will enable markers to take the mistakes into account.
Several errors were discovered in exam papers this year, including AQA's business studies A-level and Edexcel's AS-level biology, and the figure was considerably more than previous years.