title: AWS Lambda Rest API: A sibling ({id}) of this resource already has a variable path part -- only one is allowed Unable to create resource at path
body: <p>I'm particular new to Lambda and to AWS in general. I'm trying to setup a simple REST  API Service with Lambda. I've used CloudFormat and CodePipeline to have a simple Express app. 
  I'm trying to figure out why during the <strong>deployment</strong> phase, during <strong>ExecuteChangeSet</strong> I have this error: </p>
  
  <p><code>Errors found during import: Unable to create resource at path '/stations/{stationId}/allowedUsers': A sibling ({id}) of this resource already has a variable path part -- only one is allowed Unable to create resource at path '/stations/{stationId}/allowedUsers/{userId}': A sibling ({id}) of this resource already has a variable path part -- only one is allowed</code></p>
  
  <p>This is what I have inside the <strong>template.yml</strong></p>
  
  <pre><code>      Events:
        AllowedUsers:
          Type: Api
          Properties:
            Path: /stations/{stationId}/allowedUsers
            Method: get
        AddAllowedUsers:
          Type: Api
          Properties:
            Path: /stations/{stationId}/allowedUsers
            Method: post    
        DeleteAllowedUsers:
          Type: Api
          Properties:
            Path: /stations/{stationId}/allowedUsers/{userId}
            Method: delete
        GetAllowedUser:
          Type: Api
          Properties:
            Path: /stations/{stationId}/allowedUsers/{userId}
            Method: get
  </code></pre>
  
  <p>I searched a bit for this error but I'm not sure how to solve it. </p>