<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[POS 탭 화면 플러그인 개발 배포 시 오류 코드 4000 발생]]></title><description><![CDATA[<p dir="auto">안녕하세요. 개인 개발자로 리퍼브 매장 관리 프로그램과 토스 POS의 연동을 검증하고 있습니다.</p>
<p dir="auto">POS 탭 화면 플러그인의 개발 배포 과정에서 다음 오류가 반복적으로 발생합니다.</p>
<p dir="auto">"main.js 또는 iframe-manifest.json이 포함되어야 합니다."</p>
<p dir="auto">확인한 사항</p>
<p dir="auto">ZIP 최상위 경로에 iframe-manifest.json 및 index.html 존재</p>
<p dir="auto">manifest JSON 정상 파싱</p>
<p dir="auto">공식 템플릿과 동일한 manifest 구조</p>
<p dir="auto">ZIP 내부 경로 구분자 표준 슬래시(/) 사용</p>
<p dir="auto">DEFLATE 압축 방식</p>
<p dir="auto">암호화 없음 및 ZIP64 미사용</p>
<p dir="auto">서로 다른 압축 도구를 사용하여 재검증</p>
<p dir="auto">공식 GitHub의 iframe-plugin-ts 원본을 수정하지 않고 빌드한 ZIP에서도 동일 오류 발생</p>
<p dir="auto">테스트 가맹점 및 테스트 단말기 등록 완료</p>
<p dir="auto">Chrome 개발자 도구 확인 결과</p>
<p dir="auto">요청 방식: POST</p>
<p dir="auto">HTTP 상태 코드: 400 Bad Request</p>
<p dir="auto">오류 코드: 4000</p>
<p dir="auto">Content-Type: multipart/form-data</p>
<p dir="auto">Payload의 Form Data에 file(binary) 존재</p>
<p dir="auto">isTest: true</p>
<p dir="auto">문의 사항</p>
<p dir="auto">ZIP 파일에 공식 문서 외에 추가로 요구되는 패키징 조건이 있는지 궁금합니다.</p>
<p dir="auto">공식 iframe-plugin-ts 예제에서도 동일한 오류가 발생하는 원인을 확인할 수 있을까요?</p>
<p dir="auto">정상적으로 업로드 가능한 공식 빌드 완료 ZIP 파일을 제공받을 수 있을까요?</p>
<p dir="auto">서버 요청 추적번호를 통해 오류의 상세 원인을 확인해 주실 수 있을까요?</p>
<p dir="auto">요청 추적번호 및 ZIP 파일은 필요시 별도로 전달하겠습니다.</p>
<p dir="auto">감사합니다.</p>
]]></description><link>https://forum.tossplace.com/topic/174/pos-탭-화면-플러그인-개발-배포-시-오류-코드-4000-발생</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Dec 2026 03:11:10 GMT</lastBuildDate><atom:link href="https://forum.tossplace.com/topic/174.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Nov 2026 07:05:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to POS 탭 화면 플러그인 개발 배포 시 오류 코드 4000 발생 on Mon, 30 Nov 2026 09:35:51 GMT]]></title><description><![CDATA[<p dir="auto">안녕하세요. 토스플레이스 개발자센터입니다.</p>
<p dir="auto">POS 탭 플러그인을 개발 배포할 때는 <strong>빌드한 <code>dist</code> 폴더 자체를 압축해 주세요.</strong> 문의에 적어주신 ZIP과의 차이는 다음과 같습니다.</p>
<p dir="auto"><strong>1. ZIP 파일 구조</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>구분</th>
<th>ZIP 안의 파일 경로</th>
</tr>
</thead>
<tbody>
<tr>
<td>문의에 적어주신 ZIP</td>
<td><code>iframe-manifest.json</code>, <code>index.html</code></td>
</tr>
<tr>
<td>개발 배포용 ZIP 예시</td>
<td><code>dist/iframe-manifest.json</code>, <code>dist/index.html</code></td>
</tr>
</tbody>
</table>
<p dir="auto">두 파일은 같은 폴더에 있으므로 <code>iframe-manifest.json</code>의 <code>tab.href</code>는 <code>index.html</code>로 두시면 됩니다. <strong>POS 탭 플러그인에는 <code>main.js</code>를 추가할 필요가 없습니다.</strong> <a href="https://docs.tossplace.com/guide/pos-integration/plugin/develop/iframe-package.html" rel="nofollow ugc">POS 탭 화면 패키지 가이드</a></p>
<p dir="auto"><strong>2. 공식 예제로 개발 배포하기</strong></p>
<p dir="auto">개발자센터에 업로드할 ZIP을 열어 <code>dist</code> 폴더 바로 아래에 두 파일이 있는지 확인해 주세요. 파일이 ZIP 최상위에 있거나 <code>dist/dist/</code>처럼 폴더가 중첩돼 있다면, 위 예시와 같이 다시 압축한 뒤 개발 배포를 시도해 주세요.</p>
<p dir="auto"><strong>3. 비교용 ZIP 제공 여부</strong></p>
<p dir="auto">빌드가 완료된 비교용 ZIP은 별도로 제공하기 어렵습니다. <a href="https://github.com/tossplace/toss-pos-plugin-template/tree/main/iframe-plugin-ts" rel="nofollow ugc">공식 POS 탭 플러그인 예제</a>를 직접 빌드한 뒤, ZIP 내부 경로를 위 예시와 비교해 주세요.</p>
]]></description><link>https://forum.tossplace.com/post/398</link><guid isPermaLink="true">https://forum.tossplace.com/post/398</guid><dc:creator><![CDATA[토스플레이스-개발자센터]]></dc:creator><pubDate>Mon, 30 Nov 2026 09:35:51 GMT</pubDate></item></channel></rss>