Skip to content

Instantly share code, notes, and snippets.

@chanakaDe
Created October 21, 2020 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chanakaDe/72bacafcfea6a19a7ee0ee3d7c6afc9c to your computer and use it in GitHub Desktop.
Save chanakaDe/72bacafcfea6a19a7ee0ee3d7c6afc9c to your computer and use it in GitHub Desktop.
{
"type": "error",
"code": 403,
"data": null,
"error": {
"raw": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such subscription: 'sub_I6zh3R7vOeO31z1'",
"param": "id",
"type": "invalid_request_error",
"headers": {
"server": "nginx",
"date": "Wed, 21 Oct 2020 19:57:32 GMT",
"content-type": "application/json",
"content-length": "241",
"connection": "keep-alive",
"access-control-allow-credentials": "true",
"access-control-allow-methods": "GET, POST, HEAD, OPTIONS, DELETE",
"access-control-allow-origin": "*",
"access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
"access-control-max-age": "300",
"cache-control": "no-cache, no-store",
"request-id": "req_L87TMY0UpYISmf",
"stripe-version": "2019-12-03",
"strict-transport-security": "max-age=31556926; includeSubDomains; preload"
},
"statusCode": 404,
"requestId": "req_L87TMY0UpYISmf"
},
"rawType": "invalid_request_error",
"code": "resource_missing",
"param": "id",
"headers": {
"server": "nginx",
"date": "Wed, 21 Oct 2020 19:57:32 GMT",
"content-type": "application/json",
"content-length": "241",
"connection": "keep-alive",
"access-control-allow-credentials": "true",
"access-control-allow-methods": "GET, POST, HEAD, OPTIONS, DELETE",
"access-control-allow-origin": "*",
"access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
"access-control-max-age": "300",
"cache-control": "no-cache, no-store",
"request-id": "req_L87TMY0UpYISmf",
"stripe-version": "2019-12-03",
"strict-transport-security": "max-age=31556926; includeSubDomains; preload"
},
"requestId": "req_L87TMY0UpYISmf",
"statusCode": 404,
"type": "StripeInvalidRequestError"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment