My Oracle Support Banner

E1: ORCH: Testing REST API Connector Using Variable in the Body Returns "SyntaxError: Expected ',' or '}' after property value" (Doc ID 2963909.1)

Last updated on JULY 22, 2024

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

External REST API Connector executes without error when JSON is pasted inside the body.
But when using variable in the body, the same JSON throws error "SyntaxError: Expected ',' or '}' after property value in JSON at position 200".



STEPS TO REPRODUCE
==================
1. Create a Connection to external rest api.
2. Create a Connector making use of the Connection.
3. Click the test button in the Connector and enter JSON into the variable.
4. Click execute and observe the error.

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.