Why am I getting WSRequestException.GENERAL.INVALID_TOKEN error? (Doc ID 1040956.1)

Last updated on NOVEMBER 18, 2016

Applies to:

Oracle Knowledge - Version 8.1.2.1 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Symptoms

In workbench the error - WSRequestException.GENERAL.INVALID_TOKEN is encountered. When working with Intent Responses, if one gets created with an invalid IM reference in one of the response fields, an error dialog will pop-up with a message which is not very helpful.

After clicking through them a couple of times, another message will appear in the "Content Value" field of the response field: "ERROR: Referenced IM document not found for en-US!"

Another symptom of this error is linking failures through CCA. In the runtime logs the following exceptions are found:

2014/08/06 03:49:56 | [63846 Consumer-default-3(7882)] Event(Code=LOG_STORE_EXCEPTION, id=#4B1165I7882P7881) occurred at 8/6/14 3:49 AM: com.inquira.request.HandlerExceptionDO_NOT_ADDcom.inquira.infra.requestprocessor
2014/08/06 03:49:56 | [63846 Consumer-default-3 (7881)] UNKNOWN MESSAGE ID "HANDLER_DEBUG_EXCEPTION" called with: "com.inquira.request.HandlerException: [Consumer-default-3 @ Wed Aug 06 03:49:56 EDT 2014] (ImInternalError)"
2014/08/06 03:49:56 | com.inquira.imws.IMWSException: [Consumer-default-3 @ Wed Aug 06 03:49:56 EDT 2014] (<ERRORS>
2014/08/06 03:49:56 | <ERROR>
2014/08/06 03:49:56 | <CODE>WSRequestException.GENERAL.INVALID_TOKEN</CODE>
2014/08/06 03:49:56 | <MESSAGE>Resource Error. Key not found: WSRequestException.GENERAL.INVALID_TOKEN
2014/08/06 03:49:56 | </MESSAGE>
2014/08/06 03:49:56 | </ERROR>
2014/08/06 03:49:56 | </ERRORS>
2014/08/06 03:49:56 | )
2014/08/06 03:49:56 | at com.inquira.imws.IMWSClient.addCaseLink(IMWSClient.java:824)
2014/08/06 03:49:56 | at com.inquira.imws.IMWSClient.addCaseLink(IMWSClient.java:792)
2014/08/06 03:49:56 | at com.inquira.request.cca.CCASiebelHandler.addCaseLinkForIMDoc(CCASiebelHandler.java:803)
2014/08/06 03:49:56 | at com.inquira.request.cca.CCASiebelHandler.doCaseLink(CCASiebelHandler.java:554)

You can also see this exception when using the the methods from the IMWS TestClient.jsp

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms