Using API scripts, unable to get the predictions using API scripts, instead getting ERR: Failed to run DSP process (-1014)

Hi Team,

coming to the point, i was using edge impulse APIs to

  1. create impusle,
  2. configure spectral analysis,
  3. generate features,
  4. train neural networks and
  5. build and deploy model

so in the edge impulse studio model generated with 97% accuracy and live classification is also happening well. but when it deployed to the board, i was unable to get the predictions. instead getting the below:

ERR: Failed to run DSP process (-1014)
run_classifier returned: -5
Failed to run classifier

the other thing is that, when going through the above five steps with EI studio GUI, i can be able to get the predictions properly and no errors.
can anybody please help.

Hardware using: nRF9160 with Accelerometer sensor.
Regards,
Venkatesh K.