Help Center/ Optical Character Recognition/ FAQs/ Token-based Authentication/ Why Does the Header Overflow When I Use Postman to Call an OCR API?
Updated on 2023-10-26 GMT+08:00

Why Does the Header Overflow When I Use Postman to Call an OCR API?

When an API is used to call Postman to obtain a token for authentication, if the error message "Error:Header overflow" is displayed, the header overflows. In this case, perform the following operations to rectify the fault:

In Windows 10, right click This PC and choose Properties. Click Advanced system settings. On the Advanced tab, click Environment Variables.... In the Environment Variables dialog box, click New... in the System variables area. Configure Variable name and Variable value as follows:

  • Variable name: NODE_OPTIONS
  • Variable value: --max-http-header-size=16384