Skip to content

FinalizeInvoice fails with "this property cannot be expanded" #13035

Closed
@easyCZ

Description

@easyCZ

FinaliezeInvoice is erroring with:

{
  "insertId": "e5viiwf83il309l3",
  "jsonPayload": {
    "invoice_id": "in_1Libw5AyBDPbWrhaVW8ufKpN",
    "serviceContext": {
      "version": "commit-2701ec7bdc8e13c7933755c5d6ca9f8e8fd7e356",
      "service": "usage"
    },
    "level": "error",
    "error": "failed to get invoice in_1Libw5AyBDPbWrhaVW8ufKpN: {\"status\":400,\"message\":\"This property cannot be expanded (data).\",\"request_id\":\"req_OxpW2e2MNsMNAq\",\"type\":\"invalid_request_error\"}",
    "@type": "type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent",
    "message": "Failed to retrieve invoice from Stripe."
  },
  "resource": {
    "type": "k8s_container",
    "labels": {
      "pod_name": "usage-74d7c8d6b7-fcc45",
      "container_name": "usage",
      "cluster_name": "prod-meta-eu02",
      "namespace_name": "default",
      "project_id": "gitpod-191109",
      "location": "europe-west1"
    }
  },
  "timestamp": "2022-09-16T10:38:35Z",
  "severity": "ERROR",
  "labels": {
    "k8s-pod/component": "usage",
    "k8s-pod/app": "gitpod",
    "compute.googleapis.com/resource_name": "gke-prod-meta-eu02-services-pool-1-7b241e44-jj28",
    "k8s-pod/pod-template-hash": "74d7c8d6b7"
  },
  "logName": "projects/gitpod-191109/logs/stderr",
  "receiveTimestamp": "2022-09-16T10:38:36.782236687Z"
}

Find a fix.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions