python-orcid icon indicating copy to clipboard operation
python-orcid copied to clipboard

Minimal example from documentation raises error

Open Panos512 opened this issue 8 years ago • 0 comments

The minimal-example from the documentation:

{
    'title': {'title': 'API Test Title'},
    'type': 'JOURNAL_ARTICLE',
    'external-ids': [{
        'external-id': [{
            'external-id-type': 'source-work-id',
            'external-id-value': '1234'
        }]
    }]
}

Which follows the RC2 schema, is currently failing with the following message:

'Can not deserialize instance of org.orcid.jaxb.model.record_rc2.ExternalIDs out of START_ARRAY token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@10e721f8; line: 1, column: 2] (through reference chain: org.orcid.jaxb.model.record_rc2.Work["external-ids"])

Panos512 avatar Jul 08 '16 12:07 Panos512