Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk4 min

Why n8n Returns a Screenshot API Response as JSON Instead of an Image

If n8n shows a screenshot response as JSON, check whether JSON is the node’s response format or the API’s actual response. Here’s how to handle both.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

n8n usually returns a screenshot response as JSON because the HTTP Request node is set to Response Format: JSON—or because the screenshot API itself sends JSON rather than image bytes. If the endpoint returns raw PNG, JPEG, or WebP data, set the node’s response format to File and choose a binary output field such as data. If the API returns a URL, base64 data, or a job status in JSON, handle that response according to the provider’s flow; changing n8n to File cannot turn JSON into an image.

First identify what the API actually returned

There are two different situations that can look alike in an n8n execution:

As an Amazon Associate I earn from qualifying purchases.

  • The API returned image bytes, but n8n handled them as JSON. Change the HTTP Request node’s response format to File.
  • The API returned a JSON object. That object may contain a download URL, base64-encoded image data, or an asynchronous job ID/status. Follow the provider’s documented response flow rather than treating the JSON as a broken image download.

The screenshot provider and endpoint are not specified here, so the response format must be verified against that API’s documentation and the actual execution output. The n8n HTTP Request node documentation describes response handling; its current V3 node description lists Autodetect, File, JSON, and Text as response formats. The source is the rolling master branch, so labels can differ in an installed n8n version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set the HTTP Request node to return binary file data

  1. Open the workflow and select the HTTP Request node that calls the screenshot endpoint.

    #1 Best Overall
    Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB | 1920×1080 LED Monitor, 4ms GtG, Adaptive Sync, HDMI 1.4, Tilt Adjust, Low Blue Light, 4yr Advance Replacement Warranty
    • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
    • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
    • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
    • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
    • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
  2. In the node’s response settings, set Response Format to File when the API response body is the image itself.

  3. Set the binary output field name, for example data. Use that field name in downstream nodes that accept binary file data.

    Rank #2
    Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
    • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
    • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
    • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
    • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
    • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  4. Run the node and inspect its output. The image should be available as binary data under the named field, not as ordinary JSON properties containing the image.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Binary file data is a different workflow data type from JSON fields. A successful download therefore does not necessarily show a readable image object in the regular JSON view. For deployments that need to manage binary data storage, see n8n’s external storage documentation.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

Handle JSON responses according to their contents

What the API returns n8n handling Next action
Raw PNG, JPEG, or other image bytes HTTP Request response format File; choose a binary field name Pass that binary field to a file-aware node.
JSON containing an image URL Keep the response as JSON to read the URL Add a second HTTP Request to fetch the URL, with that download request set to File. Preserve any authentication the provider requires.
JSON containing base64 image data Keep or parse the JSON response Decode or convert the documented field to binary file data. Confirm the field name and encoding in the provider’s documentation.
JSON containing a job ID or status Keep the response as JSON Poll or wait as the provider documents, then download the completed image.

These are common response patterns, not claims about a particular screenshot API. The API documentation determines which one applies.

Check status, headers, and error payloads

If File mode still does not produce a usable image, verify that the request succeeded and that the body is actually image content. An endpoint can respond with JSON describing an authentication error, rate limit, CAPTCHA, or other failure even when the request was intended to capture a page. Where available in your n8n version, enable the HTTP Request node’s full-response option to inspect the status and headers alongside the body. The HTTP Request V3 node description documents the node options; check your installed version if its controls differ.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor | 100Hz, Game Mode, Advanced Eye Comfort, HDMI and D-sub Ports (LS27D366GANXZA)
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
  • Confirm the URL, credentials, required headers, and request parameters match the screenshot provider’s documentation.
  • Check the HTTP status and response headers, then inspect whether the body is an image, JSON, or an error page.
  • Do not assume that selecting File changes the API’s response type; it changes how n8n handles the response body.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Common causes and fixes

Response Format is set to JSON

Symptom: The node output is presented as JSON even though the endpoint returns image bytes.
Fix: Set Response Format to File, name the output field, and reference that binary field downstream.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The endpoint returns a URL in JSON

Symptom: The response has a URL or download link rather than image bytes.
Fix: Read the URL from the JSON response, then make another HTTP Request to download it as File. Include the authentication or parameters required for that download.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

The endpoint returns base64 or job metadata

Symptom: The response contains encoded data or a job ID/status instead of an image file.
Fix: For base64, decode the documented field into binary data. For a job response, follow the provider’s polling or completion instructions and download the result afterward.

File mode produces an error payload or unusable output

Symptom: The node does not yield a usable image despite File mode being selected.
Fix: Inspect the HTTP status, headers, and body. Correct any failed request or provider-side response before passing the result to a file-capable node.

Or skip the browser setup

ScreenshotNeo is a screenshot API and MCP server. Its one-call endpoint returns a screenshot or PDF; set the n8n HTTP Request node to File when you want the returned image bytes as binary data. See the ScreenshotNeo API documentation for request options.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a direct image response, a cURL request looks like this:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

In n8n, use https://api.screenshotneo.com/v1/shot as the request URL, send access_key and url as query parameters, and select File with a binary field name such as data.

ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000. Sign up for free and get 1,000 screenshots a month with no card.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.