You asked to read a variable from a netcdf file, and you passed a list of starting offsets for the reading. However, you passed a vector of three starting offsets for a 2d variable.
This might have been a simple typo on your part, but it potentially indicates a significant misunderstanding of what that particular variable is. And it is also possible that you have good reasons to expect a 3d variable there but this particular file might have only 2d. (For example if the various files broke the data up by decade then you could end up with the last one only having a single year stored)