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:
- Attach the same JSESSIONID and LtpaToken2 cookies and start the service by calling: "/rest/bpm/wle/v1/task/xxx?action=start"
- 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 Synonym
BPM
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21509210