question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration warning unrecognized property 'caching'

See original GitHub issue

With the property caching inside like this one:

 companies:
    handler: src/index.companiesHandler
    events:
      - http:
          path: '{version}/companies'
          method: ANY
          cors:
            origin: "*"
            headers: ${self:custom.allowed-headers}
            allowCredentials: true
          private: false
          caching:
            enabled: true #false
            ttlInSeconds: 120 #3600
            cacheKeyParameters:
              - name: request.querystring.regionId
              - name: request.querystring.skip
              - name: request.querystring.take
              - name: request.querystring.filterName
              - name: request.querystring.filterValue

The Service configuration validation throws Configuration warning unrecognized property ‘caching’. According to service configuration validation page: Configuration related to external plugin does not have an associated JSON Schema. In such cases, please report the issue with the plugin author and provide them the details on how to extend validation schema in order to permanently correct the issue.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DianaIonitacommented, Nov 14, 2020

Released v1.5.2.

0reactions
yeukfei02commented, Nov 9, 2020

@DianaIonita thats good wait for the update!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Serverless Configuration warning at 'functions.app.events[0]'
The issue is indeed indentation. The indentation on this is weird so I will explain it below. Every · is a space:
Read more >
Serverless plugin which configures API Gateway caching
You can configure how to handle unauthorized requests to invalidate a cache key using the options: Ignore - ignores the request to invalidate...
Read more >
Server-side caching - Apollo GraphQL Docs
When Apollo Server resolves an operation, it calculates the result's correct cache behavior based on the most restrictive settings among the result's fields ......
Read more >
Troubleshoot ArcGIS Data Store—ArcGIS Enterprise
Extended error message: Failed to configure tile cache data store. Extended error message: Internal Server Error. Configuring a relational data store on a ......
Read more >
CAS - Service Management - Apereo Blog
With an empty cache, authentication requests from applications might not be immediately ... The following settings and properties are available from the CAS ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found