Connect-Rest nullPointerException
Hello everyone!
I have the following scenario: I built a python API that has some get/post methods.
Now I'm trying to use Pega to connect to this API.
For example, I'm testing a Get request to get a payment type from the API as below:
When I click "Run", Pega throws me an error. I was able to catch the error only using the tracer as follows:
When I click on the first "FAIL" I have the following error:
When I click on the pyWorkPage.pySampleDataList(1), I have a 200 request status code and the correct response stream from the API:
It seems I'm having trouble with the java step from pzExecuteRestService activity (Pega's built-in activity) when testing the connection.
Using postman things is working just fine, but with Pega I'm having this issue. Can anyone give me some advice?
Hello everyone!
I have the following scenario: I built a python API that has some get/post methods.
Now I'm trying to use Pega to connect to this API.
For example, I'm testing a Get request to get a payment type from the API as below:
When I click "Run", Pega throws me an error. I was able to catch the error only using the tracer as follows:
When I click on the first "FAIL" I have the following error:
When I click on the pyWorkPage.pySampleDataList(1), I have a 200 request status code and the correct response stream from the API:
It seems I'm having trouble with the java step from pzExecuteRestService activity (Pega's built-in activity) when testing the connection.
Using postman things is working just fine, but with Pega I'm having this issue. Can anyone give me some advice?
Thanks in advance.