You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an instance of SwordApi and try to get the service document
api = SwordApi("https://demo.dataverse.org/", api_token="give_a_valid_token")
test1 = api.get_service_document()
API fails with the below given error
Additional info:
get_request method within ../pyDataverse/api.py sets api_token in params["key"] which is the reason for the error, see the snippet below from the code base
@jmurugan-fzj hi! Thanks for your interest in contributing! I'm confused, though. You could create a fork and make your pull request from there, right? Maybe I'm missing something. 🤔
Steps to reproduce:
Install latest version of pydataverse
Create an instance of SwordApi and try to get the service document
Additional info:
The text was updated successfully, but these errors were encountered: