First check that you copied the whole token without spaces. A revoked or expired token no longer works. In that case, create a new one under Account → API Tokens. RankScan shows a new token only once, so copy it right away.
The token also works only while your account has an active plan or a running trial.