{} and 500 response
See original GitHub issueI setup two test repos. on on an account with uppercase in the path and one with out. both with the example config for v2. when trying to post I get a page with { } with a resonse of 500, and no PR
https://github.com/bladefirelight2/staticmantest
<form action="https://api.staticman.net/v2/entry/bladefirelight2/staticmantest/master/comments" method="POST">
<input name="options[origin]" type="hidden" value="http://localhost:4000/test.html">
<input name="options[slug]" type="hidden" value="">
<label><input name="fields[name]" type="text">Name</label>
<label><input name="fields[email]" type="email">E-mail</label>
<label><textarea name="fields[message]"></textarea>Message</label>
<button type="submit">Go!</button>
</form>
https://github.com/BladeFireLight/staticmantest
<form action="https://api.staticman.net/v2/entry/BladeFireLight/staticmantest/master/comments" method="POST">
<input name="options[origin]" type="hidden" value="http://localhost:4000/test.html">
<input name="options[slug]" type="hidden" value="">
<label><input name="fields[name]" type="text">Name</label>
<label><input name="fields[email]" type="email">E-mail</label>
<label><textarea name="fields[message]"></textarea>Message</label>
<button type="submit">Go!</button>
</form>
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an ...
Read more >HTTP 500 Internal Server Error: What It Means & How to Fix It
A 500 internal server error is, as the name implies, a general problem with the website's server. More than likely, this means there's...
Read more >500 Internal Server Error | Apigee Edge
The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from ......
Read more >List of HTTP status codes
This is a list of Hypertext Transfer Protocol (HTTP) response status codes. ... 500 Internal Server Error: A generic error message, given when...
Read more >How to Fix a 500 Internal Server Error
The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the website's server, but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes. mirrored your sites config as to what fields were in use and then my test worked.
Thanks.
I’d like to move all the feedback around email notifications to #42 — could you please post any updates there?
Thanks!