Home Docs Error help

The line link is not valid

Error code bad_line_range
Opening and managing pastes

The line link is not valid

bad_line_range

A line comment or line link points to a range pastebin.ca cannot use.

HTTP 400·Opening and managing pastes

What it means

What happened

A line comment or line link points to a range pastebin.ca cannot use.

Why

Why it might have happened

  • The start or end line may be missing.
  • The range may be backwards or outside the paste.
Next steps

What you can try

  1. Open the paste and select the lines again.
  2. Use a link generated by the paste viewer.
  3. If commenting, choose a smaller valid line range.
Related
Still stuck?

Get help

If the error keeps happening, send feedback or contact us and include bad_line_range plus what you were trying to do.

Contact and feedback options