Comments (2)
Hi,
It looks like your API key is the issue here. According to the Scopus Search API documentation (https://dev.elsevier.com/documentation/ScopusSearchAPI.wadl), HTTP 401 errors are caused "when a user cannot be authenticated due to missing/invalid credentials (authtoken or APIKey)", so what probably happened is that your API key wasn't put into the .R file correctly.
So try double-checking that you put the correct API key in line 9 of the .R file (key <- "yourAPIKey"), replacing the "yourAPIKey" text with your actual API key, and trying again. You'll also want to check line 52 as well to make sure the searchByID() function works properly, too.
If you're sure you have the right API key in there, then most likely something is wrong with the key itself, so you'll want to contact Elsevier through the development portal to see if the API key works properly. But, I'm pretty sure the problem is caused by a missing or invalid API key in the .R file itself.
Chris
from scopusapi.
For the record, authentication errors can also be caused by attempting to access the full Scopus API from a non-authenticated IP address. So if your institution uses IP authentication to provide access to Scopus, you have to make the API request from an authenticated IP address. In practice, this means using a computer on your institution's network or logging in to your institution's VPN before trying to use the API functions.
from scopusapi.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scopusapi.