Apigee Archive deployment - Shared flows

I have enabled Apigee archive deployment for my project. My deplyoment json file looks below. I noticed that when my deployment.json file has only api proxy I am able to deploy it but when i add sharedflows i see invalid deployment.json error

Deployment.json

{
  "proxies": [
    {
      "name": "helloworld"
    },
    {
      "name": "helloworld3"
    }
  ],
  "sharedflows": ["basic-authentication"]
}

Command: gcloud beta apigee archives deploy --environment=dev

Error: Details: The deployments definition src/main/apigee/environments/dev/deployments.json is invalid.

 

1 1 151
1 REPLY 1

 I am able to deploy to local emulator with same deployment.json file