forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com>
14 lines
1.9 KiB
HTML
14 lines
1.9 KiB
HTML
<a name="ocr_01_0133"></a><a name="ocr_01_0133"></a>
|
|
|
|
<h1 class="topictitle1">Why Is the Header Overflowing When I Call an OCR API Using Postman?</h1>
|
|
<div id="body0000001704894950"><p id="ocr_01_0133__p11647816815">If the error message "Error: Header overflow" is displayed when calling an API using Postman to obtain an authentication token, it means that the header has exceeded its limit. To resolve this issue, follow these steps:</p>
|
|
<p id="ocr_01_0133__p4164984810">Modify the environment variables of the operating system. In Windows 10, right click <strong id="ocr_01_0133__b12652777693833">This PC</strong> and choose <strong id="ocr_01_0133__b171920965893833">Properties</strong>. Click <strong id="ocr_01_0133__b152318494293833">Advanced system settings</strong>. On the <strong id="ocr_01_0133__b123879299293833">Advanced</strong> tab, click <strong id="ocr_01_0133__b45764008393833">Environment Variables...</strong>. In the <strong id="ocr_01_0133__b90425180793833">Environment Variables</strong> dialog box, click <strong id="ocr_01_0133__b53793037693833">New...</strong> in the <strong id="ocr_01_0133__b151658772993833">System variables</strong> area. Configure <strong id="ocr_01_0133__b204300355093833">Variable name</strong> and <strong id="ocr_01_0133__b165198772093833">Variable value</strong> as follows:</p>
|
|
<ul id="ocr_01_0133__ul161643819810"><li id="ocr_01_0133__li15164198884"><strong id="ocr_01_0133__b42961356993833">Variable name</strong>: <strong id="ocr_01_0133__b117110331293833">NODE_OPTIONS</strong></li><li id="ocr_01_0133__li10164148687"><strong id="ocr_01_0133__b105265452693833">Variable value</strong>: <strong id="ocr_01_0133__b8410799693833">--max-http-header-size=16384</strong></li></ul>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ocr_01_0109.html">Token-based Authentication</a></div>
|
|
</div>
|
|
</div>
|
|
|