Skip to content

Instantly share code, notes, and snippets.

@chanakaDe
Created Oct 21, 2020
Embed
What would you like to do?
{
"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