{"record":{"id":"1604ccb77b6acf5e","repo":"filamentphp/filament","slug":"record-arrays-must-have-a-unique-arrayrecord-ge","errorCode":null,"errorMessage":"Record arrays must have a unique [{ArrayRecord::getKeyName()}] entry for identification.","messagePattern":"Record arrays must have a unique \\[(.+?)\\] entry for identification\\.","errorType":"exception","errorClass":"LogicException","httpStatus":null,"severity":"error","filePath":"packages/actions/src/Concerns/InteractsWithRecord.php","lineNumber":188,"sourceCode":"            if (filled($title = $this->getTable()?->getRecordTitle($record))) {\n                return $title;\n            }\n        }\n\n        if ($this instanceof Action && filled($title = $this->getHasActionsLivewire()?->getDefaultActionRecordTitle($this))) {\n            return $title;\n        }\n\n        return $this->getModelLabel();\n    }\n\n    /**\n     * @param  Model | array<string, mixed>  $record\n     */\n    public function resolveRecordKey(Model | array $record): ?string\n    {\n        if (is_array($record)) {\n            return strval($record[ArrayRecord::getKeyName()] ?? throw new LogicException('Record arrays must have a unique [' . ArrayRecord::getKeyName() . '] entry for identification.'));\n        }\n\n        $key = $record->getKey();\n\n        if (blank($key)) {\n            return null;\n        }\n\n        return strval($key);\n    }\n\n    public function getCustomRecordTitle(?Model $record = null): ?string\n    {\n        $record ??= $this->getRecord();\n\n        $title = $this->evaluate(\n            $this->recordTitle,\n            namedInjections: [","sourceCodeStart":170,"sourceCodeEnd":206,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/actions/src/Concerns/InteractsWithRecord.php#L170-L206","documentation":"Error \"Record arrays must have a unique [{ArrayRecord::getKeyName()}] entry for identification.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/actions/src/Concerns/InteractsWithRecord.php:188 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"53483fa9340e4ec637985fe454ebb58afb92ea24","analyzedAt":"2026-08-17T02:06:23.049Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}