eduardoboucas / staticman

💪 User-generated content for Git-powered websites
https://staticman.net
MIT License
2.39k stars 524 forks source link

"INVALID VERSION" #442

Open ghost opened 2 years ago

ghost commented 2 years ago
<!DOCTYPE html>
<html>
<body>

<h2>HTML Form</h2>

<form method="POST" action="https://adless-games.herokuapp.com/v3/entry/github/adless-games/user-data/main/">
  <label for="name">name:</label><br>
  <input type="text" id="name" name="fields[name]" value="John"><br>
  <label for="email">mail:</label><br>
  <input type="email" id="email" name="fields[email]" value="bob@example.com"><br>
  <label for="message">Last name:</label><br>
  <input type="text" id="message" name="fields[message]" value="reee"><br><br>
  <input type="submit" value="Submit">
</form> 

</body>
</html>

{"success":false,"errorCode":"INVALID_VERSION"}

How do I fix This?

hispanic commented 2 years ago

I think v3 (i.e., "...rokuapp.com/v3/entry/git...") might only exist in the dev branch. I suspect that there's a disconnect between whatever documentation you are following and the code you are using.

panchtatvam commented 5 months ago

The issue is solved here.