if so, then: most of the times you use the mathematical pendulum model which is an extremely simplified model assuming a fixed length string, a point mass and very small swings. Thus the errors can be related to how well these assumptions are met in th real case.