antiwork/gumroad · error · ResponseError

Something went wrong.

Error message

Something went wrong.

What it means

Error "Something went wrong." thrown in antiwork/gumroad.

Source

Thrown at app/javascript/data/balance.ts:17

import typia from "typia";

import { request, ResponseError } from "$app/utils/request";

export type ExportablePayout = {
  id: string;
  date_formatted: string;
};

export const getExportablePayouts = async (year: number) => {
  const response = await request({
    method: "GET",
    url: Routes.payouts_exportables_path({ year }),
    accept: "json",
  });

  if (!response.ok) throw new ResponseError();

  return typia.assert<{
    selected_year: number;
    years_with_payouts: number[];
    payouts_in_selected_year: ExportablePayout[];
  }>(await response.json());
};

export const exportPayouts = async (payoutIds: string[]) => {
  const response = await request({
    method: "POST",
    url: Routes.payouts_exports_path(),
    data: { payout_ids: payoutIds },
    accept: "json",
  });

  if (!response.ok) throw new ResponseError();
};

View on GitHub (pinned to afeacbd394)

When it happens

Trigger: Thrown at app/javascript/data/balance.ts:17 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of antiwork/gumroad@afeacbd394 (2026-08-21). Data as JSON: /api/errors/dbc6ffff9f9b4d5a. Report an issue: GitHub.