Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Error while running Rest API Sample's credit card save & retrieve examples under Vault section #394

Closed
joanson opened this issue Sep 5, 2019 · 2 comments
Labels

Comments

@joanson
Copy link

joanson commented Sep 5, 2019

General information

  • SDK/Library version: v1.14.0
  • Environment: Sandbox
  • PayPal-Debug-ID values: e08253eca444e
  • Language, language version, and OS: Java 1.8.0_211 on windows

Issue description

Rest API Sample's credit card save and retrieve examples under Vault section gives out Error responses.

Credit Card - Save

Response code: 400 Error response:

{
  "name": "VALIDATION_ERROR",
  "message": "Invalid request - see details",
  "debug_id": "e08253eca444e",
  "information_link": "https://developer.paypal.com/docs/api/vault/#errors",
  "details": [
    {
      "field": "expire_month, expire_year",
      "location": "body",
      "issue": "Invalid expiration (cannot be in the past)"
    }
  ],
  "links": []
}

Credit Card - Retrieve

Response code: 404 Error response

{
  "name": "INVALID_RESOURCE_ID",
  "message": "The requested resource ID was not found",
  "debug_id": "43ac72c9f2da0",
  "information_link": "https://developer.paypal.com/docs/api/vault/#errors",
  "links": []
}
@joanson
Copy link
Author

joanson commented Sep 5, 2019

Credit Card - Save

CreditCard_Save

Credit Card - Retrieve

CreditCard_Retrieve

@prakash-gangadharan
Copy link

PR Raised : #396

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants