Configuration error at root: unrecognized property 'frameworkVersion'

Seeing Configuration error at root: unrecognized property 'frameworkVersion' when running sls package or sls deploy on version 1.78.0

Hi Dave. This is a message from our newly released validator for the serverless.yml to try and help point folks to potential issues with their serverless.yml. Could you share the serverless.yml for the project returning this method at all?

Hi, we are seeing the same error since yesterday.
We have got the following line in our serverless.yml config file:
frameworkVersion: ">=1.17.0 <2.0.0"

The error message should tell you how to temporarily deactivate the check. We also have an update going out shortly (and is possibly even out already) to correct this.

1 Like

Hi Gareth,

I had had frameworkVersion: "1.78.0" at the top level.

Just tested with 1.78.1 and looks to be fixed now.

Thanks!

1 Like

I have version 1.78.1 and still getting the error:
Serverless: Configuration error at root: unrecognized property 'querystrings'

serverless.yml snippet

functions:
  test:
    handler: test.hello
    events:
      - http:
          method: GET
          path: /test
          request:
            parameters:
              querystrings:
                sentence: true

And Iā€™m getting the: Configuration error at root: unrecognized property ā€˜deploymentBucketā€™ as well.
frameworkVersion: ā€œ=1.78.1ā€ is used

You get the error because deploymentBucket is actually in the wrong spot. The error says you have it root so it needs to be indented under provider

Hi Gareth,

Iā€™m seeing a similar problem when I set configValidationMode: error for any versions I tried:

Configuration error at root: unrecognized property ā€˜resourcesā€™

If I set I set configValidationMode: warn the error does not appear.