silverwolf-x/project / errors /invalid-multi-match.mdx
silverwolf-x's picture
download
raw
506 Bytes
---
title: Invalid Multi-match
---
## Why This Error Occurred
In one of your custom-routes you specified a multi-match `/:path*` and used it in your `destination` without adding the `*` in your `destination` e.g. `destination: '/another/:path'`
## Possible Ways to Fix It
Add `*` to your usage of the multi-match param in your `destination`.
**Before**
```js
{
source: '/:path*',
destination: '/another/:path'
}
```
**After**
```js
{
source: '/:path*',
destination: '/another/:path*'
}
```

Xet Storage Details

Size:
506 Bytes
·
Xet hash:
352e86913db412ae07389593fb275826e0752d13d0edf140d9029d892746d504

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.