这是indexloc提供的服务,不要输入任何密码
Skip to content

apis and sharedflows import should output api or sharedflow name on error. #534

@kurtkanaskie

Description

@kurtkanaskie

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"
      }
    ]
  }
}

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