Skip to content

What does Data value corrupt: Not an array or missing the key "type"' mean? #493

Answered by LeMyst
WolfgangFahl asked this question in Q&A
Discussion options

You must be logged in to vote

@WolfgangFahl

I think your issue (partially?) come from the ExternalID without value :
'datavalue': {}

Or set the snaktype to NO_VALUE:
datatypes.ExternalID(prop_nr='P10692', snaktype=WikibaseSnakType.NO_VALUE)

I didn't test the others claims, but quickly looking at it, I think the P227 and P973 is in the same case.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dpriskorn
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dpriskorn
Comment options

@WolfgangFahl
Comment options

Answer selected by WolfgangFahl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants