Sha256: e98b51251089a000cc3cb27535631ef69cf138b92d9f836b9d01e02621273025

Contents?: true

Size: 1.77 KB

Versions: 10

Compression:

Stored size: 1.77 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api-sandbox.bolt.com/v1/webhooks
    body:
      encoding: UTF-8
      string: '{"division_id":"<DIVISION_ID>","url":"https://solidus-test.com/webhook","events":[""]}'
    headers:
      Content-Type:
      - application/json
      X-Api-Key:
      - "<API_KEY>"
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 500
      message: Internal Server Error
    headers:
      Date:
      - Mon, 30 May 2022 06:49:56 GMT
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '78'
      Connection:
      - keep-alive
      Public-Key-Pins-Report-Only:
      - max-age=2592000;pin-sha256="OGAVOYhLZd3ADKYGFZOED1c5m1ObMlRv9PyIWrO4Nd0=";pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=";pin-sha256="IXHYSIdST+XY22J5ivybYkntMIfjA5P6pMKX2hWG1BE=";report-uri="https://77aa1bd121ef22d50247a23390ce6cff.report-uri.io/r/default/hpkp/reportOnly"
      Set-Cookie:
      - trk=a1dcbe7a-d888-44ae-9df2-b47a4cb8d16c; Path=/; Max-Age=31536000; HttpOnly;
        Secure; SameSite=None
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
      X-Bolt-Api-Version:
      - '2022-01-01'
      X-Bolt-Error-Code:
      - '46'
      X-Bolt-Trace-Id:
      - Root=1-62946914-0bc27d70587a2f0b31b3cf53
      X-Device-Id:
      - b55bddc15664c262f06e79dc80b7b430f020049b23c99d1b3a9220dea1d12d8b
      X-Envoy-Upstream-Service-Time:
      - '10'
      Server:
      - envoy
    body:
      encoding: UTF-8
      string: '{"result":{"success":false},"errors":[{"code":46,"message":"Internal
        error"}]}'
  recorded_at: Mon, 30 May 2022 06:49:56 GMT
recorded_with: VCR 6.0.0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_bolt-0.7.2 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.7.1 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.7.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.6.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.5.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.4.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.3.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.2.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.1.0 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml
solidus_bolt-0.0.1 spec/fixtures/vcr_cassettes/SolidusBolt_Webhooks_CreateService/_call/with_empty_event/raises_a_server_error.yml