Skip to content

Error on /read with no token #138

@foltik

Description

@foltik

POST https://api.hackru.org/prod/read with no body returns HTTP 200:

{
  errorMessage: "'token'",
  errorType: 'KeyError',
  stackTrace: [
    [
      '/var/task/src/schemas.py',
      19,
      'wrapt',
      'return util.add_cors_headers(fn(event, context, *extras))'
    ],
    [
      '/var/task/src/schemas.py',
      34,
      'wrapt',
      'token = event[token_key]'
    ]
  ]
}

Metadata

Metadata

Assignees

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