Why Salesforce Get bulk job activity state value is getting null

I’m getting Get bulk job activity state value as null and captured exception is INVALID_SESSION_ID. Could you help me why is kind of problem occurring