Monday, January 28, 2019

RESTlet > Debugger > INVALID_HOST > Invalid host error when Cookie is specified

This error can be caused when including an Authorization Header.  The JSession specified in the Cookie should suffice.

To avoid this error, remove any Authorization header when debugging RESTlets.



  1. Thanks, worked for me.
    I was trying to call a RESTlet from postman.
    So, the url looks like this.
    And I added a header: Cookie with values as specified in Netsuite Debugger UI.

  2. I did as explained by Unknown, but it does not works for me. The reponse is
    "error": {
    "code": "SESSION_TIMED_OUT",
    "message": "Your session has timed out. Please re-enter your information and try again."