Bearer error param fix