Skip to content

Get dataset by doi gives empty response #43

@mdehollander

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions