Cause:
The spline curve fitted to the supplied points is longer than 4000mm.
Troubleshooting:
Check whether the points specified for the spline make it too long.
Solution:
Modify the spline points, or truncate the path and split it into multiple splines.