crew102 / wosr

R clients to the Web of Science and Incites APIs
https://crew102.github.io/wosr/
Other
30 stars 8 forks source link

Error: No matches returned for Username #8

Closed longhotuan closed 5 years ago

longhotuan commented 5 years ago

Hi,

Thank you very much for your great package! I have a problem of getting access to WoS as follows.

-When using the search with username and password returns the following error: 'No matches returned for username'. The username is entered correctly, though.

-When using search without giving username/password (=NULL) I see the error : 'User has no entitlement for this service level - WOKSearchPremium'

Do you think it can be fixed?

Many thanks for your time!

Cheers

sinisabratulic commented 5 years ago

I'm having the same issue. I tried setting my credentials with Sys.setenv and directly in the search

crew102 commented 5 years ago

I just tried to authenticate using auth() and didn't have any problems. Have you two been able to user auth() in the past? Note that the API uses a different set of credentials than the WoS web app.

longhotuan commented 5 years ago

Yes. It seems that the website access and the API access are two separated products. I only have the website access while the API access is made via my institution.

crew102 commented 5 years ago

Sorry, so you have or have not been able to use auth() successfully in the past? If you haven't been able to, you likely are using website credentials instead of API credentials. If you're sure you're using the right set of credentials, then I'll look into this issue more.

longhotuan commented 5 years ago

No. It's ok. Many thanks! The thing is I don't have the API credentials. I have the access because my institution has to pay for the Web of Science Core Collection access. Nothing I can do about this.

pederisager commented 5 years ago

Hi Chris Baker,

I am fairly sure I have the same problem as @longhotuan (I have not been successfully able to use auth() in the past). Could you explain how I would go about acquiring API credentials?

crew102 commented 5 years ago

You have to buy a subscription to the API from Clarivate Analytics. I don't know any specifics, as the company that I work for handled the purchasing.

pederisager commented 5 years ago

Ok, I will contact my university library then. Thanks for the input!

elachtara commented 3 years ago

Hi, Thank you for this discussion @pederisager. I was curious as to whether buying the Clarviate API's fixed your connection issue? I had a similar issue to you. (auth() does not work for my account) Best, Emily

pederisager commented 3 years ago

I never had any success acquiring API credentials from Clarivate. But if your institution has an IP-based API, the wosr usermanual specifies that you can set options username=NULL and password=NULL, and auth() will try to gain API access through your IP address.

RodBianc commented 2 years ago

@pederisager do you know why if I use auth(username=NULL , password=NULL) and try the data <- pull_wos('TS = ("animal welfare") AND PY = (2002-2003)') a warning message comes: "Error: You need to provide a username and password to use the API"?

pederisager commented 2 years ago

@RodBianc sorry, I haven't got a clue.