© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
sdousley

Missing required parameter for View route

I have just found out the wonder of Repeaters, and after adding one to a form, the first time I submitted the form I got an error

Missing required parameter for [Route: filament.admin.resources.customers.view] [URI: admin/customers/{record}] [Missing parameter: record]
Missing required parameter for [Route: filament.admin.resources.customers.view] [URI: admin/customers/{record}] [Missing parameter: record]


I haven't changed anything in terms of routing (that I know of!). In my
CustomerResource::getPages()
CustomerResource::getPages()
method, I have

            'view' => Pages\ViewCustomer::route('/{record}'),
            'view' => Pages\ViewCustomer::route('/{record}'),


which is what I had before this broke.

I tried to remove the Repeater section, and I still get this error. What is strange though, is that when I complete the form - both with and without the repeater, the customer is created. But if I fill out the repeater, the Repeater element is NOT created.
Solution
Did ou change something in the
CreateCustomer
CreateCustomer
class?

Could you try this? This should redirect to the index page after creating a record... just to try it
protected function getRedirectUrl(): string
{
    return $this->getResource()::getUrl('index');
}
protected function getRedirectUrl(): string
{
    return $this->getResource()::getUrl('index');
}
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Missing required parameter for multitenancy
FilamentFFilament / ❓┊help
2y ago
Missing required parameter for [Route: filament.admin.resources.insurers.view] [URI: admin/insurers/
FilamentFFilament / ❓┊help
13mo ago
Resource required route parameter.
FilamentFFilament / ❓┊help
3y ago
Missing required parameter for edit route redirect after creation error
FilamentFFilament / ❓┊help
3y ago