GoogleCloudPlatform / GoogleCloudPlatform/professional-services
asset-inventory : job failed
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 1.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 44
Description
Hello,
Where trying to add new CAI supported asset types to our inventory. But Dataflow jobs failed for the following ones:
* datamigration.googleapis.com/MigrationJob
* networkconnectivity.googleapis.com/Spoke
See errors below.
#### datamigration.googleapis.com/MigrationJob
Error from Dataflow job logs:
```
google.api_core.exceptions.BadRequest:
400 Error while reading data, error message:
JSON table encountered too many errors, giving up. Rows: 1; errors: 1.
Please look into the errors[] collection for more details.
File: gs://...../networkconnectivity.googleapis.com/Spoke.0.json
[while running 'load_to_bigquery/load_to_bigquery']
```
Error from BigQuery logs:
```
Error while reading data, error message:
JSON parsing error in row starting at position 0: No such field: resource.data.error.details.detail.
File: gs://...../datamigration.googleapis.com/MigrationJob.0.json
```
#### networkconnectivity.googleapis.com/Spoke
Error from Dataflow job logs:
```
google.api_core.exceptions.BadRequest:
400 Error while reading data, error message:
JSON table encountered too many errors, giving up. Rows: 1; errors: 1.
Please look into the errors[] collection for more details.
File: gs://...../networkconnectivity.googleapis.com/Spoke.0.json
[while running 'load_to_bigquery/load_to_bigquery']
```
Error from BigQuery logs:
```
Error while reading data, error message:
JSON parsing error in row starting at position 0: No such field: resource.data.linkedRouterApplianceInstances.name.
File: gs://...../networkconnectivity.googleapis.com/Spoke.0.json
```
Contributor guide
Assessment
This issue has not been assessed yet.