Is it possible to parse templates *in order*?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- documentation
Research direction
Start by reproducing the template conversion described in the issue and inspect how parsing reports errors when an earlier substitution value is missing. The work is done when the earliest actionable error, such as the missing “discussion” value at line 130, is reported first rather than a later line error.
Written by the indexing model from the issue text.
Description
I pasted a template from another system and I'm running into a weird error with it while converting it to Sparkpost:
- Sparkpost tells me there's an error at line 174.
- I delete the entire code block that ends at that line.
- Now Sparkpost tells me there's an error at line 162.
What's going on here? How was line 162 OK before, when the error was at line 174? Missing ending tag or something?
Anyway, I keep deleting, and ultimately the error was way earlier,
line 130: substitution value 'discussion' did not exist or was null
So it wasn't a missing tag, but a missing substitution value. This should have been flagged immediately.

- Dominant language
- API Blueprint
- Stars
- 18
- Forks
- 9
- Avg merge
- 2d 5m
- Merged PRs (30d)
- 8
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SparkPost/developers.sparkpost.com
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
SparkPost/developers.sparkpost.com#501 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 32/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in SparkPost/developers.sparkpost.com
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
supadata-ai/mcp#27 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Albert-Weasker/niubigeo#194 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Esri/calcite-dotnet-toolkit#30 · 1 reaction ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
supabase/agent-skills#623 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100