When I try to create a case using the default api api.v1.cases with post to create a case, it does create the case without any issues. But in the tracer it throws an error message (Pega-API-CaseManagement-Case)InvalidClassForInstance Abstract
As the class Pega-API-CaseManagement-Case is of type abstract. Is this acceptable or should we make any changes to the existing api to avoid this error message.
The above error message is thrown in the step 2 of the activity Pega-API-CaseManagement.pzCreateCase
You may have to look at more context, such as the steps in tracer leading up to that error so you can see in more detail what your app is doing. I find it a bit interesting that the class is abstract but doesn't end in a hyphen.
What is going on leading up to that error? Is the abstract class being used for some purpose that only concrete classes should be used for?
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.