Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

zip entry in bundle has invalid path

[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:2.5.2-rc2:deploy (deploy-bundle) on project dev-api-proxy: : MojoExecutionException: 400 Bad Request
[ERROR] {
[ERROR] "error": {
[ERROR] "code": 400,
[ERROR] "message": "bundle contains errors",
[ERROR] "status": "INVALID_ARGUMENT",
[ERROR] "details": [
[ERROR] {
[ERROR] "@type": "type.googleapis.com/edge.configstore.bundle.BadBundle",
[ERROR] "violations": [
[ERROR] {
[ERROR] "filename": "apiproxy/apiproxy.yaml",
[ERROR] "description": "zip entry in bundle has invalid path"
[ERROR] },
[ERROR] {
[ERROR] "filename": "apiproxy/policies/policy1.yaml",
[ERROR] "description": "zip entry in bundle has invalid path"
[ERROR] },
[ERROR] {
[ERROR] "filename": "apiproxy/proxies/default.yaml",
[ERROR] "description": "zip entry in bundle has invalid path"
[ERROR] },
[ERROR] {
[ERROR] "filename": "apiproxy/targets/default.yaml",
[ERROR] "description": "zip entry in bundle has invalid path"
[ERROR] },
[ERROR] {
[ERROR] "description": "The proxy must contain a ProxyEndpoint"
[ERROR] }
[ERROR] ]
[ERROR] },
[ERROR] {
[ERROR] "@type": "type.googleapis.com/google.rpc.RequestInfo",
[ERROR] "requestId": "1326809902935083125"
[ERROR] }
[ERROR] ]
[ERROR] }
[ERROR] }

0 3 177
3 REPLIES 3

Hello @VaelisShadow, thank you for reaching out to the Apigee community. To assist you effectively with the error, could you please provide more details about your setup and the steps leading to this issue?

Providing more information will help community members understand the problem more accurately, you might find this guidance helpful—Tips to Ask Questions in the Apigee Forum.

Looking forward to your response so we can assist you further.

Hi @AlexET ,
thank you for your interest in my request.
I want to be able to configure the proxy API using YAML files. I have tried to configure the plugin with YAML files, but it reports this error every time. The same configuration with XML files works flawlessly.
Does io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:2.5.2-rc2 support YAML? If so, please tell me how to properly configure YAML support in pom.xml.

Kind regards

@VaelisShadow - not sure why you are using YAML. Apigee proxy bundle does not support YAML. Its only XML.