cern-sis / issues-scoap3

0 stars 0 forks source link

Issue with a user account #67

Closed agentilb closed 1 year ago

agentilb commented 2 years ago

Message received from one user:

Hallo,
I have a limit of 20 data records per set with my access to scoap3.
Is my access token no longer valid or correct?
What can I do to remove the limit?
I collect regularly via perl script.

The script does the following:
It calls a scoap3-URL and the result is written to a file.
The result is checked to see if it contains a "next" link at the end.
If yes, then it will be queried further.
The whole thing is done per journal.

The URL looks like this
https://repo.scoap3.org/api/records/?q=_oai.sets:AHEP&size=50&access_token=......

I tried several variations of the URL without success.
All attempts return 20 records.

Best regards
Rainer Buth

German National Library of Science and Technology (TIB)
IT and technical infrastructure department
Operation of the TIB portal

The user has an account that seems to be valid: https://repo.scoap3.org/admin/apiregistrations/details/?url=%2Fadmin%2Fapiregistrations%2F%3Fpage%3D1&id=44

Has something changed recently?

drjova commented 1 year ago

@agentilb We believe that the token is not valid anymore, can we ask the user to create a new token and try again?

ErnestaP commented 1 year ago

is there any update regarding this?

agentilb commented 1 year ago

Message sent to user to ask him to require a new token

agentilb commented 1 year ago

the error was in the script of the user.