--- http_interactions: - request: method: post uri: https://chef.server/organizations/my-org-name/association_requests body: encoding: ASCII-8BIT string: '{"user":"non-existent-user"}' headers: Content-Type: - application/json Accept: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 X-Ops-Sign: - algorithm=sha1;version=1.0; X-Ops-Userid: pivotal X-Ops-Timestamp: - '2015-04-29T17:41:28Z' X-Ops-Content-Hash: - "{{X-Ops-Content-Hash}}" X-Ops-Authorization-1: - "{{X-Ops-Authorization-1}}" X-Ops-Authorization-2: - "{{X-Ops-Authorization-2}}" X-Ops-Authorization-3: - "{{X-Ops-Authorization-3}}" X-Ops-Authorization-4: - "{{X-Ops-Authorization-4}}" X-Ops-Authorization-5: - "{{X-Ops-Authorization-5}}" X-Ops-Authorization-6: - "{{X-Ops-Authorization-6}}" Host: - chef.server:443 X-Remote-Request-Id: - c2f3113f-655f-4ecb-baa5-e572f0d1aa9e Content-Length: - '28' X-Chef-Version: - 12.3.0 User-Agent: - ruby response: status: code: 404 message: Object Not Found headers: Server: - ngx_openresty/1.4.3.6 Date: - Wed, 29 Apr 2015 17:41:27 GMT Content-Length: - '49' Connection: - keep-alive X-Ops-Api-Info: - flavor=cs;version=12.0.0;oc_erchef=1.5.0 body: encoding: UTF-8 string: '{"error":"Could not find user non-existent-user"}' http_version: recorded_at: Wed, 29 Apr 2015 17:41:28 GMT recorded_with: VCR 2.9.3