If you look at the response, you see that it simply means that there's no caption (for example, look at number 3)

Try something like this:

for (var i = 0; i < 20; i++) {
    $("#pics").append("<a target='_blank' href='" + data.data[i].link + "'><img src='" + data.data[i].images.low_resolution.url + "'></img></a>");
    if (data.data[i].caption === null) {
        $("#text").append("<p>No caption</p>");
    } else {
        $("#text").append("<p>"+data.data[i].caption.text+"</p>");
    }
}
Answer from Poootaatoooo on Stack Overflow
🌐
GitHub
github.com › dilame › instagram-private-api › issues › 966
Caption is null when uploading · Issue #966 · dilame/instagram-private-api
November 2, 2019 - (async() => { await loginIG(); result = await ig.publish.photo({ 'file': createIMG(), 'caption': 'hello hello' }); console.log(result); })(); // just for good measure, i'm including my login code as well async function loginIG() { log.status('loginIG: logging in'); let userFeed; let firstPageItems; profile = getFromStuff('.profile'); const cookiesFile = getFromStuff('.cookies'); if (cookiesFile !== undefined) { await ig.state.deserializeCookieJar(JSON.stringify(cookiesFile)); } ig.state.generateDevice(username); if (profile !== undefined) { try { log.status('loginIG: test: getting user feed');
Author   dilame
🌐
Oreate AI
oreateai.com › blog › decoding-null-on-instagram-what-it-means-and-how-to-fix-it › fdf1a9cdd9039cc0d7090ff99f8d0c51
Decoding 'Null' on Instagram: What It Means and How to Fix It - Oreate AI Blog
December 30, 2025 - Possible causes include cache corruption or syncing delays after changing passwords. Posts Show “null” Captions: A post with ‘null’ instead of text indicates that something went wrong during upload—perhaps you lost internet connection ...
🌐
Vocal Media
vocal.media › journal › what-does-posted-null-mean-on-instagram
What does posted null mean on Instagram - Vocal Media
The term "null" in programming and data contexts usually means "nothing" or "no value." When you see "Posted to Null," it indicates that something went wrong, and Instagram couldn’t properly attribute your post to a specific location, user, or tag.
🌐
TikTok
tiktok.com › discover › what-does-null-mean-on-instagram
What Does Null Mean on Instagram | TikTok
1 month ago - ﹡💙💐₊˚ ୨ ♡ ୧ ˚₊ what is “(null)” mesn in captions 🧢! ⚡︎‧₊˚ 𝗜𝗕 :: lost it ꒷₊˚⤜ 0.0k !🐷☁︎︎* ࿐‧₊˚ ➝ ilysm char + ibfs + supporters 🦋⊹˚˖⁺ ✿ 𝗧𝗔𝗚𝗦 :: ... ...
🌐
TikTok
tiktok.com › discover › what-does-null-mean-on-instagram-post
What Does Null Mean on Instagram Post | TikTok
May 11, 2026 - #Instagram #значение ... сообщения, Instagram фраза (null), как понять (null) в Instagram ... ﹡💙💐₊˚ ୨ ♡ ୧ ˚₊ what is “(null)” mesn in captions 🧢! ⚡︎‧₊˚ 𝗜𝗕 :: lost it ꒷₊˚⤜ 0.0k !🐷☁︎︎* ࿐‧₊˚ ...
🌐
Fha
erpstaging.fha.gov.ng › home › what is null on instagram? + how to fix it!
What is Null on Instagram? + How to Fix It!
September 1, 2025 - Instead of allowing the post with a corrupted caption, the system might reject the caption altogether, storing a ‘null’ value in the corresponding database field. This action ensures that the platform’s rendering engine does not encounter issues due to the invalid characters, preserving the display integrity of the content. ... Instagram imposes length restrictions on various content fields, such as usernames, bios, and captions.
🌐
Issuu
issuu.com › zubairzub › docs › null_post_mean_on_instagram_-_sheet1_-_copy
Null Post Mean On Instagram by Zubair Ali - Issuu
August 25, 2024 - This could occur due to a glitch or an issue during the upload process. It might also happen if the content was removed but the post itself wasn't deleted. If you encounter a "null post," it often indicates that no media or caption is displayed.
Find elsewhere
🌐
TikTok
tiktok.com › discover › why-are-my-messages-saying-null-on-instagram
Why Are My Messages Saying Null on Instagram | TikTok
3 weeks ago - (You can do that by heading to the reels editor and choosing the downward arrow in the menu) #instagramreels #reelsglitch #instagramtips #contentcreatortips How to Fix Instagram Reels Text Glitch. Spot and fix the common Instagram reels text glitch with these easy steps. Break up text blocks, rearrange lines, and avoid too much text on a frame. Find the full guide in the caption!
🌐
Medium
medium.com › @zack.tokar › instagrams-null-phenomenon-with-data-what-it-is-why-it-matters-and-expert-insights-3e454b4799de
Instagram’s ‘Null’ Phenomenon (With Data): What It Is, Why It Matters, and Expert Insights | by Zack Tokar | Medium
August 21, 2024 - When you encounter a null account, it typically means the profile has been removed or hidden from public view. What Does It Mean When It Says [Blank] is on Instagram?
🌐
Dataconomy
dataconomy.com › 2024 › 08 › 21 › what-does-null-mean-on-instagram
Explained: What Does Null Mean On Instagram? - Dataconomy
August 21, 2024 - On Instagram, “null” in comments ... unavailable. In profiles, “@null” suggests that the account has been deactivated or suspended, rendering the profile data inaccessible....
🌐
BuySocialMediaMarketing
buysocialmediamarketing.com › home › instagram features and actions explained 2026: 14 terms you’ll see inside the app
14 Instagram Features and Actions Explained 2026 | App Guide
May 2, 2026 - It’s not a feature you can turn on or off. It’s just Instagram’s way of saying “this slot is empty.” If a chart in Insights reads NONE, it usually means the post is too new or the audience is too small for the metric to render.
🌐
YouTube
youtube.com › watch
What Does Null Mean on Instagram? - Everyday-Networking - YouTube
What Does Null Mean on Instagram? Have you ever come across the term "null" on Instagram and found yourself puzzled about its meaning? In this informative vi...
Published   February 16, 2025
🌐
BuySocialMediaMarketing
buysocialmediamarketing.com › home › what does null mean on instagram?
What Does Null Mean on Instagram?
August 16, 2025 - The account longer exists on Instagram. ... The value for that piece of data is blank or recorded as wrong. Essentially, null is an indicator that the system cannot access or process the expected information.
🌐
TikTok
tiktok.com › discover › what-does-null-mean-on-instagram-message
What Does Null Mean on Instagram Message | TikTok
April 5, 2026 - Learn how to manage unread messages on Instagram and what the moon symbol means. Find out how to mark messages as unread and more! #instagram #instagramtips. unread messages on instagram, mark as unread instagram, how to unread message in instagram, instagram unseen message, what does the moon mean on instagram ... What does (null) means?
🌐
Instagram
instagram.com › null
Instagram
Welcome back to Instagram. Sign in to see what your friends, family and interests have been capturing and sharing around the world.
🌐
GitHub
github.com › dilame › instagram-private-api › issues › 685
Caption of uploaded photo is set to null · Issue #685 · dilame/instagram-private-api
March 25, 2019 - Hello, I noticed that there is some limit for adding / deleting photos - which remove caption from posting images. Is there any smart way to handle that? I could make some kind of sleep after getti...
Author   dilame
🌐
YouTube
youtube.com › watch
What Does Null Comment Mean on Instagram??
To learn more, please visit the YouTube Help Center: https://www.youtube.com/help