@Junicavi It sounds like you are encountering an issue with the JSON formatting in your Service REST configuration. The pyRequestData is adding an extra pair of quotes to the request body, which is causing the INVALID JSON error. To resolve this issue, you can follow these steps: 1. Check the Data Transform: Ensure that the data transform used to construct the JSON is correctly formatted. Verify that there are no extra quotes or incorrect syntax in the JSON structure. 2. Modify the Data Page Parameters: On the Parameters tab of your data page, provide the JSON as an input. Ensure that the JSON is in the correct format that the connector accepts. If necessary, use a data transform to format the JSON correctly. 3. Use a Custom Data Transform: If the JSON is not in the format that the connector accepts, you can run the same JSON data transform again in deserialized mode. This will convert the JSON back to a page in the request data transform in the data page. Then, in the request data transform, continue to make the request. 4. Review the Connector Configuration: Ensure that the connector configuration does not add any extra quotes or modify the JSON structure. You can do this by checking the request data transform and the connector rule. 5. Testing with Postman: Since you have already tested with Postman and confirmed that the extra quotes cause the API to fail, use this information to adjust the JSON formatting in your Pega application. By following these steps, you should be able to avoid the extra quotes being added to the request body and resolve the INVALID JSON error.
This is a GenAI-powered tool. All generated answers require validation against the provided references.