Skip to content

oc_coci_meta returns lexical error #15

@danisnotadj

Description

@danisnotadj

Hi all,

oc_coci_cites working fine, but for whatever reason oc_coci_meta returns the following error (using the examplar DOI from the documentation)

`

oc_coci_meta("10.1108/jd-12-2013-0166")
Error:
! lexical error: invalid char in json text.
<html lang="en"
(right here) ------^
`

This doesn't make a huge amount of sense; OpenCitations meta definitely returns JSON, so unclear why there's html being returned.

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