Xiaohongshu's error 300031 doesn't always mean the note is gone

python dev.to

A Xiaohongshu (RedNote) note link can fail in ways that look identical in a browser: a "page not found" (「页面不见了」), a login page, or 「当前笔记暂时无法浏览」 ("this note can't be viewed right now") with error code 300031. If your code reads share links, treating all of these as "the note was deleted" sends users off to re-copy links that were fine, or tells them a readable note is gone. These are dated observations from the read logs of a link-reading tool I build, LinkDigest. It reads only the public share

Read Full Tutorial open_in_new
arrow_back Back to Tutorials