Skip to content

500 error on running serverless invoke local  #5

@quantuminformation

Description

@quantuminformation

When running

$ serverless invoke local --function create --path mocks/create-event.json
from
https://serverless-stack.com/chapters/add-a-create-note-api.html

I get

{
    "statusCode": 500,
    "headers": {
        "Access-Control-Allow-Origin": "*",
        "Access-Control-Allow-Credentials": true
    },
    "body": "{\"status\":false}"
}

I added a log and get:
{ UnrecognizedClientException: The security token included in the request is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions