Sha256: ca2347fb0bcf7b9120c83e678e2543a99509404040bd857a75cef05d24c48a68

Contents?: true

Size: 1.76 KB

Versions: 3

Compression:

Stored size: 1.76 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://development.avalara.net/1.0/tax/get
    body:
      encoding: UTF-8
      string: "{}"
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      Authorization:
      - Basic MTEwMDExMzA5NjoxRDEzRURBMkRDQ0M3RTRB
      Content-Type:
      - application/json
      Content-Length:
      - '2'
      User-Agent:
      - Ruby
  response:
    status:
      code: 500
      message: Internal Server Error
    headers:
      Cache-Control:
      - private
      Content-Type:
      - text/json; charset=utf-8
      X-Aspnet-Version:
      - 4.0.30319
      X-Powered-By:
      - ASP.NET
      Date:
      - Thu, 13 Apr 2017 01:43:34 GMT
      Content-Length:
      - '544'
      Set-Cookie:
      - TS017f1821=01a8ddc44ebfaef9cc238df70bf5b5f2b3d638c132f636d299bbcfd8c7ef3c263a951ffd3bbd82df4d33072a9647402eeed96dd0aa;
        Path=/
    body:
      encoding: UTF-8
      string: |
        {
        "ResultCode": "Error",
        "Messages": [
        {
        "Summary": "CustomerCode is required.",
        "Details": "This value must be specified.",
        "RefersTo": "CustomerCode",
        "Severity": "Error",
        "Source": "Avalara.AvaTax.Services"}
        ,{
        "Summary": "At least one address or LocationCode is required. Address is incomplete or invalid.",
        "RefersTo": "Addresses",
        "Severity": "Error",
        "Source": "Avalara.AvaTax.Services.Tax"}
        ,{
        "Summary": "Lines is expected to be between 1 and 15000.",
        "RefersTo": "Lines",
        "Severity": "Error",
        "Source": "Avalara.AvaTax.Services"}
        ]
        }
    http_version: 
  recorded_at: Thu, 13 Apr 2017 01:43:34 GMT
recorded_with: VCR 3.0.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_avatax_certified-3.0.0 spec/vcr/TaxSvc/_get_tax/fails/fails_when_no_params_are_given.yml
solidus_avatax_certified-2.0.0 spec/vcr/TaxSvc/_get_tax/fails/fails_when_no_params_are_given.yml
solidus_avatax_certified-1.1.0 spec/vcr/TaxSvc/_get_tax/fails/fails_when_no_params_are_given.yml