firefly-iii/firefly-iii · error · FireflyException
Currency #%d not found.
Error message
Currency #%d not found.
What it means
Error "Currency #%d not found." thrown in firefly-iii/firefly-iii.
Source
Thrown at app/Support/JsonApi/Enrichments/AccountEnrichment.php:369
;
/** @var array $entry */
foreach ($set as $entry) {
$this->meta[(int) $entry['account_id']][$entry['name']] = (string) $entry['data'];
if ('currency_id' === $entry['name']) {
$this->currencies[(int) $entry['data']] = true;
}
}
if (count($this->currencies) > 0) {
$currencies = TransactionCurrency::query()->whereIn('id', array_keys($this->currencies))->get();
foreach ($currencies as $currency) {
$this->currencies[(int) $currency->id] = $currency;
}
}
$this->currencies[0] = $this->primaryCurrency;
foreach ($this->currencies as $id => $currency) {
if (true === $currency) {
throw new FireflyException(sprintf('Currency #%d not found.', $id));
}
}
}
private function collectNotes(): void
{
$notes = Note::query()
->whereIn('noteable_id', $this->ids)
->whereNotNull('notes.text')
->where('notes.text', '!=', '')
->where('noteable_type', Account::class)
->get(['notes.noteable_id', 'notes.text'])
->toArray()
;
foreach ($notes as $note) {
$this->notes[(int) $note['noteable_id']] = (string) $note['text'];
}
View on GitHub (pinned to fd8791d08d)
When it happens
Trigger: Thrown at app/Support/JsonApi/Enrichments/AccountEnrichment.php:369 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of firefly-iii/firefly-iii@fd8791d08d (2026-08-17).
Data as JSON: /api/errors/b1fedf535d277c4d.
Report an issue: GitHub.