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

Bundle is invalid. Unable to read/find APIProxy contents

Not applicable

I am trying to import an API Bundle and it failed to import with the below error.

API proxy import failed. Time elapsed: 0:00

Server Error.

Bundle is invalid. Unable to read/find APIProxy contents

This is simple weather API and I trying to understand the API import process.

I created the folder structure per API tutorial

http://apigee.com/docs/api-services/tutorials/part-1-create-your-api-xml

I noticed when I unzip the bundle, my mac add .DS_Store file to every folder. I tried to force delete it but it gets created immediately again. Is API failed due to DS_Store file? Any insight would be really appreciated.

Solved Solved
0 9 4,079
2 ACCEPTED SOLUTIONS

akoo
New Member

In the ZIP you uploaded, weatherxml is your first directory-- that is causing the error you see. When you ZIP your directories, the first folder you should see is apiproxy. So if you are performing the typical 'compress' on OSX, your file name will most likely be apiproxy.zip.

View solution in original post

Hi @Grand,

Looks like the your zip file is not in the right structure -

Pls refer here - http://apigee.com/docs/api-services/reference/api-proxy-configuration-reference

When you unzip the weatherxml.zip -> it should give you the apiproxy folder, In your case it shows me weatherxml -> apiproxy, thats the reason for the error

attached the right version, your zip also should look like that

View solution in original post

9 REPLIES 9