<p>Did you set up a route and assign a template to it?</p>

<pre><code>contact/success/{{ number }}
</code></pre>

CC BY-SA 4.0
2019-04-16T13:36:44.623Z
Yes I tried contact/success/{{ submission.id }} but the URI was invalid. I then tried contact/success/{ submission.id } but that didn't work
Dan Lee
CC BY-SA 4.0
2019-04-16T13:32:23.293Z
2019-04-16T13:32:23.293Z
Jim Wyse
<p>I am getting the following error when redirecting the form success message to a page. I am trying to pass in the submission ID... </p>

<pre><code>HTTP 404 – Not Found – yii\web\NotFoundHttpException
Template not found: contact/success/5015
</code></pre>

<p><strong>This is the Return URL</strong> </p>

<pre><code>returnUrl: "{{ siteUrl }}contact/success/{{ submission.id }}",
</code></pre>

<p>I have set up a 'single' entry for the success page - do I need to somehow tie this in with the submission ID? </p>

<craft3><plugin-freeform><freeform>
Freeform Plugin: Success Page and Submission ID - Template not Found
# Freeform Plugin: Success Page and Submission ID - Template not Found

(Asked by: username_0 on 2019-04-16)

I am getting the following error when redirecting the form success message to a page. I am trying to pass in the submission ID... 
HTTP 404 – Not Found – yii\web\NotFoundHttpException
Template not found: contact/success/5015

This is the Return URL 
returnUrl: "{{ siteUrl }}contact/success/{{ submission.id }}",

I have set up a 'single' entry for the success page - do I need to somehow tie this in with the submission ID?

**Tags:** craft3, plugin-freeform, freeform


---

## 1 answers

### Answer by username_1 on 2019-04-16. Score: 1

Did you set up a route and assign a template to it?
contact/success/{{ number }}

> **Comments:**
> **username_0**: Yes I tried contact/success/{{ submission.id }} but the URI was invalid. I then tried contact/success/{ submission.id } but that didn't work  

---

