Hubert
10/05/2021, 2:43 PMAuthorizerResultTtlInSeconds cannot be set for WEBSOCKET protocol Apis. (Service: AmazonApiGatewayV2; Status Code: 400; Error Code: BadRequestException; Request ID: 59e5ff5a-907f-4d2c-a2f6-0012888cf27d; Proxy: null)
2. When running unit tests (sst test
), I seem to also be getting an error. I've tried to test my Websocket Authorizer and got inspiration from this: https://github.com/serverless-stack/serverless-stack/blob/e14edc65afa59493c615c59c5d520fda0e7b5477/packages/resources/test/WebSocketApi.test.ts#L617
Testing other areas of my stacks seem to also throw similar error or say that there's no resource like X at all.
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'CloudAssembly'
| property 'artifacts' -> object with constructor 'Array'
| index 0 -> object with constructor 'TreeCloudArtifact'
--- property 'assembly' closes the circle
at JSON.stringify (<anonymous>)
Thanks.Frank
AuthorizerResultTtlInSeconds
issue. Will keep you posted.Frank
Hubert
10/06/2021, 9:22 AMOrlando
10/07/2021, 7:44 PMAuthorizerResultTtlInSeconds
. Also, looking forward to a resolution. 🙏Frank
Frank
Orlando
10/18/2021, 8:41 PM