Just to understand this situation..... some more information is needed to give the best answer.
I assume this is a replacement motor? If so, why was it replaced? was it the same rpm? is it the same power?
If the original was 6 pole, then you need to change the pulley to get the motor to full rpm/power at 60 Hz while airflow is as-desired.
But, if not, then why the 40 rpm? Is it that the thing stalls out there?
Is the airflow as-desired at 40 Hz? That would suggest the original motor was 1200 rpm nominal/6 pole.
If it is programmed to go to 60, but stalls at 40, and the airflow is not as much as desired, then the motor is still accelerating at that point. Higher current is normal during acceleration, if it just trips there.
Of course if the original was 1200 rpm, then either operate this one at 40 Hz, or change the pulley. I'd change the pulley, so the motor has best cooling.
if the original motor was same power and rpm, what do you have the basic VFD settings at? (Motor voltage, motor rated Hz/speed, motor rated current)
Air movers have a pretty steep power needed vs rpm curve, so they can stall out a motor at a particular rpm. Fan motors are designed for higher slip so that they can operate correctly with different temperatures and air densities, just for that reason.