0
votes

I'm using the google cloud node library pushing JSON record to a bigquery table.

I'm getting a lot of PartialFailureError with message "Multiple definitions of field."

"errors": [
  {
    "message": "Multiple definitions of field.",
    "reason": "invalid"
  }
]

What does this error mean. I've looked in the row data and compared that to the schema and haven't seen anything strange in terms of repeated fields or duplicate entries.

1
can you share with us your schema and an example of a row you are inputting into the table? - Willian Fuks

1 Answers

0
votes

This error means that some field (alas error message doesn't say which one), was defined in schema as repeated (i.e. JSON array), but was not repeated - or vice versa.