Seeing the following error when deploying a new proxy to EDGE.
[ERROR] 400 Bad Request { "code" : "messaging.config.beans.InvalidBundle", "message" : "Bundle is invalid. name is missing", "contexts" : [ ] } [ERROR]
The "namie is missing" bit seems to be key - the dir structure is fine, apiproxy is spelled correctly.
I have done dozens of deployments of other proxies to edge, this is the first time I've run into this error.
I'm deploying using the following command...
mvn -X apigee-enterprise:deploy -P$environment -Dusername=$username -Dpassword=$password
-P$environment is an existing dev env that I've deployed to countless times and still can with other proxies. This is a very frustrating.
Here's the pertinent log output.. the missing environment[] seems to be an issue, I see envs listed in other deployments.
--------------------------------%snip%--------------------------------
Request prepared for the server
**************************
accept: application/json accept-encoding: gzip
authorization: Basic [Not shown in log] [DEBUG]
Response returned by the server
**************************
200 OK accept-encoding: gzip content-length: 108
content-type: application/json date: Tue, 02 Feb 2016 18:02:03 GMT
access-control-allow-headers: [origin, x-requested-with, accept]
access-control-allow-origin: [*] access-control-max-age: [3628800]
access-control-allow-methods: [GET, PUT, POST, DELETE] connection: [keep-alive]
server: [Apigee Router]
{ "environment": [], "name": "formularyCanonicalAdapter", "organization": "cambiahealth-nonprod" }
[INFO]
=============Importing App================
[DEBUG] URL parameters API Versionv1
[DEBUG] URL parameters URL https://api.enterprise.apigee.com
[DEBUG] URL parameters Orgcambiahealth-nonprod
[DEBUG] URL parameters App formularyCanonicalAdapter
[INFO]
Request prepared for the server
**************************
accept: application/json
accept-encoding: gzip
authorization: Basic [Not shown in log]
content-type: application/octet-stream
[Request body contains data, not shown]
[ERROR] 400 Bad Request
{ "code" : "messaging.config.beans.InvalidBundle", "message" : "Bundle is invalid. name is missing", "contexts" : [ ] }
[ERROR]
--------------------------------%snip%--------------------------------
Solved! Go to Solution.
Hi, just figured this out, I was missing the <proxyname>.xml file in the ../apiproxy folder of the proxy. Once I added this, the deployment was successful. Still, the error thrown was a bit confusing.
Hi, just figured this out, I was missing the <proxyname>.xml file in the ../apiproxy folder of the proxy. Once I added this, the deployment was successful. Still, the error thrown was a bit confusing.
@Michael , Glad issue is resolved, Thank you for sharing same with community.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |