This issue is usually because your current connection/IP is not the same as the one you used to create your Scopus Account; which is usually the Institutional Connection that has been granted access to Scopus.
So if there is a need to access Scopus outside that specific IP (institutional IP), then you need to setup a remote VPN proxy for yourself or Inst tokens might work as well.
Read below for clarity:
The Scopus API recognizes you as a member of your institution via IP
range. For working remotely, Scopus can also grant InstTokens. Thus
one of three things needs to happen:
You are in your instition’s network
You use your instition’s VPN
You use an InstToken
Option 1 is easy and the most common.
Option 2 might require you to additionally set a proxy. You can do so
in the configuration file.
Option 3 is rare. If you have an InstToken, please provide it during
the setup. Alternatively, add it
to the configuration file manually. You may also set the InstToken via
insttoken=”XYZ” in any class. This is the preferred solution if you
possess multiple keys.
Please Note: These suggestions are listed under pybliometrics python wrapper class documentation. However, this issue of accessing Scopus API must be the same regardless of the language and these suggestions might work.