{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-apigateway-swagger-importer/issues/15","labels_url":"https://api.github.com/repos/awslabs/aws-apigateway-swagger-importer/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-apigateway-swagger-importer/issues/15/comments","events_url":"https://api.github.com/repos/awslabs/aws-apigateway-swagger-importer/issues/15/events","html_url":"https://github.com/awslabs/aws-apigateway-swagger-importer/issues/15","id":100306771,"number":15,"title":"ConflictException: Resource with id 'xwdshi' has a conflicting path","user":{"login":"sbacquie-carecloud","id":8568705,"avatar_url":"https://avatars.githubusercontent.com/u/8568705?v=3","gravatar_id":"","url":"https://api.github.com/users/sbacquie-carecloud","html_url":"https://github.com/sbacquie-carecloud","followers_url":"https://api.github.com/users/sbacquie-carecloud/followers","following_url":"https://api.github.com/users/sbacquie-carecloud/following{/other_user}","gists_url":"https://api.github.com/users/sbacquie-carecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/sbacquie-carecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbacquie-carecloud/subscriptions","organizations_url":"https://api.github.com/users/sbacquie-carecloud/orgs","repos_url":"https://api.github.com/users/sbacquie-carecloud/repos","events_url":"https://api.github.com/users/sbacquie-carecloud/events{/privacy}","received_events_url":"https://api.github.com/users/sbacquie-carecloud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-11T13:06:34Z","updated_at":"2015-08-11T18:29:10Z","closed_at":"2015-08-11T18:29:10Z","body":"When trying to import, I keep getting the following error, on different end points each time:\r\n\r\n    2015-08-11 08:44:53,074 ERROR - Error creating API, rolling back\r\n    com.amazonaws.services.apigateway.model.ConflictException: Resource with id 'xwdshi' has a conflicting path (Service: null; Status Code: 409; Error Code: null; Request ID: 7655b030-4026-11e5-a041-b1519f2f7bca)\r\n        at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1182)\r\n        at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:770)\r\n        at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)\r\n        at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310)\r\n        at com.amazonaws.hal.client.HalClient.invoke(HalClient.java:235)\r\n        at com.amazonaws.hal.client.HalClient.postResource(HalClient.java:98)\r\n        at com.amazonaws.hal.client.HalResourceInvocationHandler.invoke(HalResourceInvocationHandler.java:117)\r\n        at com.sun.proxy.$Proxy29.createResource(Unknown Source)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createResource(ApiGatewaySdkSwaggerApiImporter.java:155)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createResource(ApiGatewaySdkSwaggerApiImporter.java:314)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createResources(ApiGatewaySdkSwaggerApiImporter.java:253)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createApi(ApiGatewaySdkSwaggerApiImporter.java:90)\r\n        at com.amazonaws.service.apigateway.importer.impl.ApiGatewaySwaggerFileImporter.importApi(ApiGatewaySwaggerFileImporter.java:48)\r\n        at com.amazonaws.service.apigateway.importer.ApiImporterMain.execute(ApiImporterMain.java:101)\r\n        at com.amazonaws.service.apigateway.importer.ApiImporterMain.main(ApiImporterMain.java:65)\r\n    2015-08-11 08:44:53,075 INFO - Deleting API zmum9bq57a\r\n    2015-08-11 08:44:55,755 ERROR - Error importing API from Swagger\r\n    com.amazonaws.services.apigateway.model.ConflictException: Resource with id 'xwdshi' has a conflicting path (Service: null; Status Code: 409; Error Code: null; Request ID: 7655b030-4026-11e5-a041-b1519f2f7bca)\r\n        at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1182)\r\n        at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:770)\r\n        at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)\r\n        at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310)\r\n        at com.amazonaws.hal.client.HalClient.invoke(HalClient.java:235)\r\n        at com.amazonaws.hal.client.HalClient.postResource(HalClient.java:98)\r\n        at com.amazonaws.hal.client.HalResourceInvocationHandler.invoke(HalResourceInvocationHandler.java:117)\r\n        at com.sun.proxy.$Proxy29.createResource(Unknown Source)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createResource(ApiGatewaySdkSwaggerApiImporter.java:155)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createResource(ApiGatewaySdkSwaggerApiImporter.java:314)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createResources(ApiGatewaySdkSwaggerApiImporter.java:253)\r\n        at com.amazonaws.service.apigateway.importer.impl.sdk.ApiGatewaySdkSwaggerApiImporter.createApi(ApiGatewaySdkSwaggerApiImporter.java:90)\r\n        at com.amazonaws.service.apigateway.importer.impl.ApiGatewaySwaggerFileImporter.importApi(ApiGatewaySwaggerFileImporter.java:48)\r\n        at com.amazonaws.service.apigateway.importer.ApiImporterMain.execute(ApiImporterMain.java:101)\r\n        at com.amazonaws.service.apigateway.importer.ApiImporterMain.main(ApiImporterMain.java:65)\r\n\r\nI can provide a Swagger file to reproduce it if necessary."},"comment":{"url":"https://api.github.com/repos/awslabs/aws-apigateway-swagger-importer/issues/comments/130004805","html_url":"https://github.com/awslabs/aws-apigateway-swagger-importer/issues/15#issuecomment-130004805","issue_url":"https://api.github.com/repos/awslabs/aws-apigateway-swagger-importer/issues/15","id":130004805,"user":{"login":"rpgreen","id":1379412,"avatar_url":"https://avatars.githubusercontent.com/u/1379412?v=3","gravatar_id":"","url":"https://api.github.com/users/rpgreen","html_url":"https://github.com/rpgreen","followers_url":"https://api.github.com/users/rpgreen/followers","following_url":"https://api.github.com/users/rpgreen/following{/other_user}","gists_url":"https://api.github.com/users/rpgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/rpgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpgreen/subscriptions","organizations_url":"https://api.github.com/users/rpgreen/orgs","repos_url":"https://api.github.com/users/rpgreen/repos","events_url":"https://api.github.com/users/rpgreen/events{/privacy}","received_events_url":"https://api.github.com/users/rpgreen/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T18:29:10Z","updated_at":"2015-08-11T18:29:10Z","body":"Thanks for the help @cfair. I have merged in your changes with some modifications. @sbacquie-carecloud please pull and confirm  "}}