Sha256: d6a4e9e1f265059e294a2aa1b968989df5949ff3d424612f6e49a0f7d84dc7a3

Contents?: true

Size: 1.91 KB

Versions: 7

Compression:

Stored size: 1.91 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.contentful.com/spaces
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - RubyContentfulManagementGem/0.5.0
      Authorization:
      - Bearer <ACCESS_TOKEN>
      Content-Type:
      - application/vnd.contentful.management.v1+json
      Content-Length:
      - '0'
      Host:
      - api.contentful.com
  response:
    status:
      code: 401
      message: Unauthorized
    headers:
      Accept-Ranges:
      - bytes
      Access-Control-Allow-Headers:
      - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation
      Access-Control-Allow-Methods:
      - DELETE,GET,HEAD,POST,PUT,OPTIONS
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Expose-Headers:
      - Etag
      Access-Control-Max-Age:
      - '1728000'
      Cache-Control:
      - max-age=0
      Content-Type:
      - application/vnd.contentful.management.v1+json
      Date:
      - Sun, 04 Jan 2015 18:33:54 GMT
      Server:
      - nginx
      Status:
      - 401 Unauthorized
      X-Contentful-Request-Id:
      - 85f-1346166421
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Content-Length:
      - '176'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: |+
        {
          "sys":{
            "type":"Error",
            "id":"AccessTokenInvalid"
          },
          "requestId":"85f-1346166421",
          "message":"The access token you sent could not be found or is invalid."
        }

    http_version: 
  recorded_at: Sun, 04 Jan 2015 18:33:54 GMT
recorded_with: VCR 2.9.3

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
contentful-importer-0.2.2 spec/fixtures/vcr_cassettes/invalid_credentials.yml
contentful-importer-0.2.1 spec/fixtures/vcr_cassettes/invalid_credentials.yml
contentful-importer-0.2.0 spec/fixtures/vcr_cassettes/invalid_credentials.yml
contentful-importer-0.1.1 spec/fixtures/vcr_cassettes/invalid_credentials.yml
contentful-importer-0.1.0 spec/fixtures/vcr_cassettes/invalid_credentials.yml
contentful-importer-0.0.2 spec/fixtures/vcr_cassettes/invalid_credentials.yml
contentful-importer-0.0.1 spec/fixtures/vcr_cassettes/invalid_credentials.yml