--- http_interactions: - request: method: get uri: http://api.brightbox.dev/1.0/database_snapshots?account_id=acc-12345 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.19.0 Authorization: - OAuth f83da712e6299cda953513ec07f7a754f747d727 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json; charset=utf-8 X-Ua-Compatible: - IE=Edge Etag: - "\"734cababb172fed5f48152a12bdd0324\"" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 7602b14ab63f75497597a709e5c801e1 X-Runtime: - '0.195235' Server: - WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22) Date: - Fri, 17 Jan 2014 10:27:47 GMT Content-Length: - '453' Connection: - Keep-Alive body: encoding: UTF-8 string: "[{\"id\":\"dbi-50e91\",\"resource_type\":\"database_snapshot\",\"url\":\"https://api.gb1.brightbox.com/1.0/database_snapshots/dbi-50e91\",\"name\":\"\",\"description\":\"\",\"status\":\"creating\",\"database_version\":\"5.5\",\"size\":0,\"created_at\":\"2014-01-17T10:23:00Z\",\"updated_at\":\"2014-01-17T10:23:00Z\",\"deleted_at\":null,\"account\":{\"id\":\"acc-12345\",\"resource_type\":\"account\",\"url\":\"https://api.gb1.brightbox.com/1.0/accounts/acc-12345\",\"name\":\"VCR account\",\"status\":\"active\"}}]" http_version: recorded_at: Fri, 17 Jan 2014 10:27:47 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: "{\"grant_type\":\"client_credentials\"}" headers: User-Agent: - fog/1.20.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-Xss-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-Ua-Compatible: - IE=Edge X-Request-Id: - 4682841087c1ee58c73863e0829f33ad X-Runtime: - '0.099926' Server: - WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22) Date: - Tue, 18 Feb 2014 17:30:27 GMT Connection: - close body: encoding: UTF-8 string: "{\"error\":\"unauthorized_client\",\"error_description\":\"The authenticated client is not authorized to use the access grant type provided.\"}" http_version: recorded_at: Tue, 18 Feb 2014 17:30:27 GMT recorded_with: VCR 2.5.0