Title: Openai/696925ea-1264-800c-8cec-22fafd520907 - freem URL Source: https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907 Markdown Content: _This conversation was exported from ChatGPT_[[1]](https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907#cite_note-1) ## gpt-5[[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=1 "Edit section: gpt-5") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=1 "Edit section's source code: gpt-5")] ### [[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=2 "Edit section: User: Help me fix this problem: https:/community.n8n.io/t/i-am-losing-my-sanity/250451") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=2 "Edit section's source code: User: Help me fix this problem: https:/community.n8n.io/t/i-am-losing-my-sanity/250451")] Help me fix this problem: https:/community.n8n.io/t/i-am-losing-my-sanity/250451 ### Assistant: Here’s what’s going on in your n8n issue “I am losing my sanity” and how you can fix it:[[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=3 "Edit section: Assistant: Here’s what’s going on in your n8n issue “I am losing my sanity” and how you can fix it:") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=3 "Edit section's source code: Assistant: Here’s what’s going on in your n8n issue “I am losing my sanity” and how you can fix it:")] Here’s what’s going on in your n8n issue (“I am losing my sanity”) and how you can fix it: ##### 🔍 What’s the problem?[[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=4 "Edit section: 🔍 What’s the problem?") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=4 "Edit section's source code: 🔍 What’s the problem?")] You’re making HTTP requests to Shopify inside n8n and sometimes the product titles come back as Chinese-looking gibberish, instead of Greek. This happens when the number of products requested is less than 54 — but when you request 54 or more products, the Greek text returns normally. n8n Community[[2]](https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907#cite_note-2) Example outputs: | Products Requested | Result | | ------------------ | ----------------------------------- | | 2 | 危蔚蟿 74 蟽蠁蟻… (garbled) | | 54 | ``` "Σετ 74 σφραγίδες…" (proper Greek) | ``` ``` This clearly points to a character encoding issue rather than a Shopify bug. ``` `✅ Likely Root Cause: Encoding/charset handling in HTTP Request[edit | edit source]` ``` When Shopify returns text it normally uses UTF-8 encoding. However n8n’s HTTP Request node might be mis-interpreting the response’s character set in some cases — especially if: ``` ``` the response does not explicitly include a Content-Type: charset=utf-8 header the HTTP request node isn’t configured to force UTF-8 decoding the payload is being read as binary or default system encoding ``` ``` This can happen on smaller responses where Shopify might use slightly different headers. The weird characters you’re seeing are almost certainly UTF-8 being misread as another encoding. ``` `🛠 How to Fix / Workaround[edit | edit source]``✅ 1. Force UTF-8 parsing[edit | edit source]` ``` In your HTTP Request node: ``` ``` Set Response Format → String ``` 1. `Add header:`` ``` Accept-Charset: utf-8 3. If you have control over headers, also add: Content-Type: application/json; charset=utf-8 This explicitly tells n8n to parse the response as UTF-8. ===== ✅ 2. Try reading raw binary and converting manually ===== Instead of interpreting it as JSON/text immediately, you can do: # In HTTP Request node: - Response Format → Buffer/Binary # Pass buffer into a Function Node:js const buf = items[0].binary.data; // adjust if different key const str = buf.toString('utf8'); // enforce UTF-8 return [{ json: JSON.parse(str) }]; ``` `` This ensures the text is decoded as UTF-8 manually. ##### [[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=8 "Edit section: ✅ 3. Check Shopify API pagination") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=8 "Edit section's source code: ✅ 3. Check Shopify API pagination")] If you’re requesting fewer products via pagination (e.g., cursors), the API might return slightly different content or headers. Make sure both requests use the same Accept headers as in the working larger request. ##### [[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=9 "Edit section: 📌 Extra Tips") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=9 "Edit section's source code: 📌 Extra Tips")] ✔️ Use the latest Shopify GraphQL / REST endpoints — older ones can sometimes omit proper charset headers. ✔️ If possible, test the same requests using curl and inspect the raw headers — this will confirm whether the charset header is missing. ✔️ Always set your HTTP Request node to explicitly expect UTF-8 when dealing with Unicode text. #### 📌 Summary[[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=10 "Edit section: 📌 Summary") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=10 "Edit section's source code: 📌 Summary")] Your issue is not a bug in Shopify or n8n per se, but almost certainly a charset interpretation problem: ✅ Shopify sends UTF-8 — but the smaller API response sometimes doesn’t include charset info ✅ n8n defaults to another encoding when charset is missing ✅ You can fix it by forcing UTF-8 parsing either via headers or manual decoding. n8n Community[[3]](https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907#cite_note-3) If you want, share the exact HTTP Request node config and response headers you’re seeing and I can tailor the steps specifically to your workflow. ## References[[edit](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&veaction=edit§ion=11 "Edit section: References") | [edit source](https://freemwiki.com/index.php?title=Openai/696925ea-1264-800c-8cec-22fafd520907&action=edit§ion=11 "Edit section's source code: References")] 1. [↑](https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907#cite_ref-1 "Jump up")["ChatGPT - N8N Assistant (By Nskha)"](https://chatgpt.com/share/696925ea-1264-800c-8cec-22fafd520907). ChatGPT. Retrieved 2026-01-16. 2. [↑](https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907#cite_ref-2 "Jump up")["n8n Community"](https://community.n8n.io/t/i-am-losing-my-sanity/250451). n8n Community. Retrieved 2026-01-16. 3. [↑](https://freemwiki.com/wiki/Openai/696925ea-1264-800c-8cec-22fafd520907#cite_ref-3 "Jump up")["n8n Community"](https://community.n8n.io/t/i-am-losing-my-sanity/250451). n8n Community. Retrieved 2026-01-16.