Sha256: 5ea60765764037ce22f8eb4aedba4f9ecc8ca3083fd9f13add1ce7e4865d6165

Contents?: true

Size: 2 KB

Versions: 72

Compression:

Stored size: 2 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.workos.com/passwordless/sessions
    body:
      encoding: UTF-8
      string: "{}"
    headers:
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - WorkOS; ruby/2.7.1; x86_64-darwin19; v0.7.0
      Authorization:
      - Bearer sk_4q5ka3d9bx0XJiZhkKmUIOG87
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Server:
      - Cowboy
      Connection:
      - keep-alive
      Vary:
      - Origin, Accept-Encoding
      Access-Control-Allow-Credentials:
      - 'true'
      Content-Security-Policy:
      - 'default-src ''self'';base-uri ''self'';block-all-mixed-content;font-src ''self''
        https: data:;frame-ancestors ''self'';img-src ''self'' data:;object-src ''none'';script-src
        ''self'';script-src-attr ''none'';style-src ''self'' https: ''unsafe-inline'';upgrade-insecure-requests'
      X-Dns-Prefetch-Control:
      - 'off'
      Expect-Ct:
      - max-age=0
      X-Frame-Options:
      - SAMEORIGIN
      Strict-Transport-Security:
      - max-age=15552000; includeSubDomains
      X-Download-Options:
      - noopen
      X-Content-Type-Options:
      - nosniff
      X-Permitted-Cross-Domain-Policies:
      - none
      Referrer-Policy:
      - no-referrer
      X-Xss-Protection:
      - '0'
      X-Request-Id:
      - e3ca7215-2b2d-45cf-a04f-90279225f27e
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '150'
      Etag:
      - W/"96-O5ltHaJ3rEQ8+dqFwhN+Lhmgdb0"
      Date:
      - Wed, 16 Sep 2020 17:34:07 GMT
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"message":"Validation failed","errors":[{"field":"email","code":"email
        must be a string"},{"field":"type","code":"type must be a valid enum value"}]}'
    http_version: 
  recorded_at: Wed, 16 Sep 2020 17:34:07 GMT
recorded_with: VCR 5.0.0

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
workos-4.3.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-4.2.1 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-4.2.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-4.1.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-4.0.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-3.1.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-3.0.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.17.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.16.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.15.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.14.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.13.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.12.1 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.12.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.11.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.10.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.9.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.8.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.7.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml
workos-2.6.0 spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml