Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to submit comment (Permlink is not a valid size) #79

Closed
tobias-g1 opened this issue Dec 1, 2018 · 3 comments
Closed

Unable to submit comment (Permlink is not a valid size) #79

tobias-g1 opened this issue Dec 1, 2018 · 3 comments

Comments

@tobias-g1
Copy link

Expected behavior

A user should be able to submit a comment for any given post.

Actual Behaviour

When attempting to comment on a post, the comment is not submitted to the blockchain.

Steps to reproduce

  1. Go to https://alpha.1ramp.io/feed/
  2. Sign in using your Steem Account
  3. Go to https://alpha.1ramp.io/@ceeka-dacrafta/hb1jnkc00b4ddp6oq12wkamr55wkzmgg4hra1x2huqrzybrvm0gyv33amtss002t20181130100307
  4. At the bottom, a comment bar is shown. Within the comment bar, attempt to submit a comment. For example "Test Comment"
  5. Click send on the comment.
  6. Note that the comment is not submitted to the blockchain.

Environment

  • Browser: Google Chrome (Version 65.0.3325.162 (Official Build) (64-bit))
  • Device: MacBook Pro (Retina, 15-inch, Late 2013)
  • Operating system: MacOS HighSierra Version 10.13

Issues Details

The following error is shown within the console:

steemconnect.com/api/broadcast:1 

Failed to load resource: the server responded with a status of 500 ()

Within the response from SteemConnect the following error is provided:

{"error":"server_error","error_description":"permlink.size() > STEEM_MIN_PERMLINK_LENGTH && permlink.size() < STEEM_MAX_PERMLINK_LENGTH: Permlink is not a valid size."}

The following request payload was used in the above request:

{"operations":[["comment",{"parent_author":"","parent_permlink":"","author":"tobias-g","permlink":"re---20181201t043845449z","title":"","body":"test comment","json_metadata":"{\"app\":\"hapramp/0.0.16\"}"}]]}

Recording of Issue

The following issue can be seen in the view below:

https://www.youtube.com/watch?v=3fpZrtEIoUg&feature=youtu.be

@singhpratyush
Copy link
Member

Thanks for reporting @tobias-g1. This turned out to be a quick fix, wonder how I missed it 😅.

@tobias-g1
Copy link
Author

Awesome :) I can speak from first-hand experience, it's sometimes the ones that are right in front of you that sneak past. Glad it was useful :)

@5310
Copy link

5310 commented Jan 27, 2021

A followup—Even today (early 2021) we can't title works with some (most?) Unicode characters which throws this error at the final stage of publication. I tried with æsthetic 【キャラ】

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants