Skip to content

Get dataset by doi gives empty response #43

Description

@mdehollander

I am experiencing this issue when using the python API:

host = 'demo.dataverse.org'
token = '<my token>'
connection = Connection(host, token)
dataverse = connection.get_dataverse('renatis2017')
dataverse
<dataverse.dataverse.Dataverse object at 0x7f92c5a11b00>
dataverse.get_dataset_by_doi("doi:10.5072/FK2/PVH0HO")

A Dataverse object is obtained, but the get_dataset_by_doi call is empty. Directly using an API request at https://demo.dataverse.org/api/datasets/:persistentId?persistentId=doi:10.5072/FK2/PVH0HO gives an OK json output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions