For example when importing APIs from a folder this error is output with no context, even if using APIGEECLI_DEBUG=true
APIGEECLI_DEBUG=true apigeecli --token=$TOKEN --org=$ORG apis import --folder=$X_IMPORT_DIR/proxies
bundle not imported: (HTTP 400) {
"error": {
"code": 400,
"message": "bundle contains errors",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/edge.configstore.bundle.BadBundle",
"violations": [
{
"filename": "apiproxy/policies/AM-debug.xml",
"description": "The AssignTo transport attribute must be \"http\"."
}
]
},
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"requestId": "17815225450811079750"
}
]
}
}