Queue Dehaka/CreatePayout

CreatePayout:Job:01K7T9VEP5KE46KJ05XVZV0Q3D

Actions
State
Failed
Timestamp
Sat, Oct 18, 2025 12:00 AM
Processed
Sat, Oct 18, 2025 12:02 AM
Finished
Sat, Oct 18, 2025 12:02 AM
Attempts Made
1
Progress
0%
Reason for failure
Cannot destructure property 'amount' of 'available.find(...)' as it is undefined.
Stacktraces
TypeError: Cannot destructure property 'amount' of 'available.find(...)' as it is undefined.
    at CreatePayout.stripePayout (/app/node_modules/@vizeat/core/dist/mutations/lib/payouts/CreatePayout.js:64:29)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async CreatePayout.execute (/app/node_modules/@vizeat/core/dist/mutations/lib/payouts/CreatePayout.js:109:34)
    at async /app/node_modules/@vizeat/core/dist/mutations/lib/Mutation.js:138:37
    at async /app/index.js:146:31
Data
{
  "_meta": {
    "ulid": "01K7T9VEP5KE46KJ05XVZV0Q3D",
    "name": "CreatePayout",
    "sentryTrace": "cf49beb3837ecbfbdb8e8f2fad88b3ea-f6eac7dd84af4d05-0",
    "sentryBagage": "sentry-environment=production,sentry-release=a6f1885374b4abc22fb3a7e749881424ec0c1380,sentry-public_key=bb0a0adf9ef14ef4a3fb79c1e0066a78,sentry-trace_id=cf49beb3837ecbfbdb8e8f2fad88b3ea,sentry-sampled=false",
    "initiator": {
      "id": "01K7T9VD0Q4235Z1P9VBV6PK3M",
      "name": "BulkPayouts"
    },
    "jobId": "CreatePayout:Job:01K7T9VEP5KE46KJ05XVZV0Q3D"
  },
  "amount": 59400,
  "gateway": "stripe",
  "user": {
    "billing_country_iso": null,
    "firstname": "Secret Food Tours",
    "lastname": "Company",
    "nickname": null,
    "birth_date": "1984-08-28T00:00:00.000Z",
    "phone": "+33973726007",
    "country_iso": "GB",
    "id": 77589,
    "account_id": 77563,
    "currency_id": 3,
    "billing_address": null,
    "parent_id": null,
    "avatar_id": 1216399,
    "host_application_id": null,
    "civility": "OTHER",
    "description_title": null,
    "description": "We have several tours around the world. \nOur tours are small and intimate to make sure that our guests receive a personalized experience.\nYou can find the description and the person in charge for each tour below\n\nLisbon:\n\nCarmen Castello - Have a petisco in a traditional Portuguese tasquinha, drink a glass of red wine and then witness a Lisbon's sunset. Your memories will be blessed forever!Our Lisbon tours are small and intimate to make sure that our guests receive a personal experience.\n\nBerlin:\n\nKarl Wilder - After living in Italy, in the Dominican Republic and in the US, working as a renowned chef and restaurateur, Karl could not help but return to the home of his family, Germany. Every day he would explore a new corner of Berlin's ever changing landscape. Karl loves to seek out the new tastes of today's immigrants as well as the old German fleischerei or Beer Hall. He is passionate about showing you the amazing and unique experience of eating out in the German capital. See our contrasting city and taste our history.\n\nBologna:\n\nCity Manager Isadora is an experienced guide, born and raised in Bologna. After living in the UK she decided to return to her beloved city of Bologna. She loves her historic city and the vibrant cultural scene behind it. Her carefully selected food and locations will help you understand the history and appreciate this town.\n\nPrague:\n\nOur city manager David, a travel junkie, has visited all five continents and can still claim Prague as his favorite city. He may be a bit biased, as a born and raised citizen from Prague, but all his travels have made him appreciate his home city even more.\n\nBudapest:\n\n"We are Budapest locals, and we are engaged to show our guests the different shades of the Hungarian cuisine. We will take you to visit small culinary hotspots of Budapest and introduce you to the city's dining culture and latest gastronomy trends. Budapest is a beautiful city with impressing history, colourful, rich in flavors and famous for its great architecture. Take a walk with us around the city centre and be part of the scene."\n\nAgnes, Secret Food Tours Budapest\n\nNapoli:\n\nNatalia is a young but experienced guide, born and raised in Napoli. She loves her city and the history behind it, and she will take you from present to past and back again. Tasting her local food selections will help you understand the history and knowledge of the Neapolitan culture as it is today.\n\nSeville:\n\nThe City Manager, Alejandro, at the age of five, moved from the east part of Seville to Triana, where he has been living until now. He's a passionate traveller and food junky, who has travelled to 30 countries, but always returns home. As he will say, is Triana, not Seville.\n\nPorto:\n\n"I come from a traditional family from the city of Porto, with origins in the old city where my grandfather sold codfish. I grew up in an environment where eating was also a demonstration of love and a sharing of good practices. My family met on Sundays for lunch and dinner, and the table always exceeded 20 people, in order from the oldest to the youngest. The ingredients were quintessentially Portuguese: bread, olives, wine, cod, sardines, and the classic sweets. The meals were always very loud, in a true Mediterranean style, with several conversations at the same time and lots of laughs. These memories accompany me to this day and are part of my way of being and feeling. When I welcome someone in my city, I want you to feel at home, opening your heart to let yourself be involved by the warm and emotional culture of the city of Porto"\n\nCarlos, Secret Food Tours Porto\n",
    "affiliation_code": null,
    "newsletter": false,
    "tos": true,
    "created_at": "2016-03-18T15:38:37.000Z",
    "updated_at": "2022-05-04T09:26:23.000Z",
    "deleted_at": null,
    "old_id": 86369,
    "ewid": null,
    "locality": null,
    "published_review_count": 1
  },
  "currency": {
    "id": 2,
    "title": "Dollar",
    "iso_3": "USD",
    "symbol": "$",
    "minimum_charge_amount": 100,
    "decimal_point": 2
  },
  "payment_ids": [
    6525,
    6527,
    7606,
    16352,
    16520,
    18107
  ]
}