IBM Support

A CWTBG0013E error occurs when service data is retrieved using REST Service API for IBM Business Process Manager Advanced

Troubleshooting


Problem

When you attempt to retrieve data from the Java client, you might receive a CWTBG0013E error.

Symptom

You might have a Java™ HTTP client that sends the following REST request to retrieve data:

http://localhost:9081/rest/bpm/wle/v1/service/353?action=getData&field=…

In return, you might receive the following error:

"CWTBG0013E: The object 'xxx' does not exist; it might have been deleted in the meantime."

Cause

When you log into the business space to access the REST application programming interface (API), the following two cookies are created and passed back from the server:

  • JSESSIONID
  • LtpaToken2

The JSESSIONID cookie is the session in which you are working. The LtpaToken2 cookie contains the user ID and password that is logged in. When you send the REST request, you need to attach the cookies with the request, which identifies the sessions and user credentials, so the request is processed as the same sessions on which you worked.

Resolving The Problem

To resolve this issue, save the JSESSIONID and LtpaToken2 cookies as the session identifier, and send those cookies back to the server when you call the REST APIs.

For example:

  1. Attach the same JSESSIONID and LtpaToken2 cookies and start the service by calling: "/rest/bpm/wle/v1/task/xxx?action=start"

  2. Retrieve the data by calling:
    "/rest/bpm/wle/v1/service/xxx?action=getData&field=tw.local"

This approach ensures that both calls are processed for the same sessions with which you initially logged on.

[{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"REST API","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

BPM

Document Information

Modified date:
15 June 2018

UID

swg21509210