Sha256: e8a89c77d8a6129e9eca7c954d5ea8cdbb409fb7445689262f6999b7a8e564e6

Contents?: true

Size: 1.51 KB

Versions: 2

Compression:

Stored size: 1.51 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://foo:bar@localhost:3000/api/v0/search?coll_id=ea85c0a400281&digi_id=foo_quux_cuid370&scope=ses
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Ua-Compatible:
      - chrome=1
      Content-Type:
      - application/json; charset=utf-8
      X-Meta-Request-Version:
      - 0.2.9
      Cache-Control:
      - no-cache
      Set-Cookie:
      - request_method=GET; path=/
      X-Request-Id:
      - 81a62b8a-dd5c-4ee5-87ec-00baa34d6056
      X-Runtime:
      - '0.008165'
      Connection:
      - close
      Server:
      - thin 1.6.2 codename Doc Brown
    body:
      encoding: UTF-8
      string: '{"errors":["PG::InvalidTextRepresentation: ERROR:  invalid input syntax
        for uuid: \"ea85c0a400281\"\nLINE 1: ...ELECT \"ses\".* FROM \"ses\"  WHERE
        \"ses\".\"coll_id\" = ''ea85c0a40...\n                                                             ^\n:
        SELECT \"ses\".* FROM \"ses\"  WHERE \"ses\".\"coll_id\" = ''ea85c0a400281''
        AND \"ses\".\"digi_id\" = ''foo_quux_cuid370''"]}'
    http_version: 
  recorded_at: Wed, 05 Jul 2017 00:25:41 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rsbe-client-0.5.1 spec/vcr_cassettes/se/search-malformed-uuid.yml
rsbe-client-0.5.0 spec/vcr_cassettes/se/search-malformed-uuid.yml