Hello,
I am encountering an issue with the Apigee Emulator (v1.14.2) in Visual Studio Code. I am unable to deploy a simple environment with an echo proxy. When I attempt to deploy, the operation fails with a 500 error, and I see an error related to parsing the deployment report.
Interestingly, the same configuration and process work perfectly with an older version of the emulator (v1.9.2).
What Iβve already done:
- I downloaded the newest version of the Apigee Emulator extension in Visual Studio Code, completely uninstalling and reinstalling.
- I have configured the emulator to use version 1.14.2, and deleted the container and image multiple times, reinstalling later
- I have created a simple echo API proxy, tried with other proxy presets but same result.
- I have confirmed that the deployment is successful when I switch the emulator version back to 1.9.2 with no other changes.
Here are the error messages Iβm seeing:
VSCode Console Output:
06/13/2025 6:45 PM EMULATOR INFO Deploying environment testenv, to Container apigee-1.14.2 (1.14.2)
06/13/2025 6:45 PM EMULATOR ERROR Error parsing deployment report as JSON
06/13/2025 6:45 PM EMULATOR ERROR null
06/13/2025 6:45 PM EMULATOR ERROR Environment testenv deployment, to Container apigee-1.14.2 (1.14.2) failed with Error: 500
06/13/2025 6:45 PM EMULATOR ERROR Deploy to Container apigee-1.14.2 (1.14.2), failed with Error: Environment testenv deployment, to Container apigee-1.14.2 (1.14.2) failed with Error: 500
Unfortunately, Iβm unable to upload logs that appeared directly in the docker container as the forum wonβt let me, probably due to their length. Truncated, these are the log lines that appear when I try to deploy the environment:
2025-06-13 23:58:35 {"level":"SEVERE","thread":"NIOThread@18","mdc":{},"className":"com.apigee.messaging.configuration.MessageProcessorServiceImpl","method":"loadContract","severity":"SEVERE","message":"Failed to load the contract null"
2025-06-13 23:58:35 {"level":"SEVERE","thread":"NIOThread@18","mdc":{},"className":"com.apigee.communication.rest.HandlerDetails","method":"process0","severity":"SEVERE","message":"failed to process request handler found for request com.apigee.protocol.http.msg.RequestURI@f2c1109"
Relevant Code and Configs
ECHO-proxy Endpoint (default.xml):
<ProxyEndpoint name="default">
<HTTPProxyConnection>
<BasePath>/echo</BasePath>
</HTTPProxyConnection>
<RouteRule name="echo"/>
</ProxyEndpoint>
Environment Deployment (deployment.json):
{
"proxies": [
{
"name": "ECHO-proxy"
}
],
"sharedflows": []
}
Directory Tree of Apigee Workspace:
.
βββ src
β βββ main
β β βββ apigee
β β βββ apiproxies
β β β βββ test
β β β βββ apiproxy
β β β βββ proxies
β β β βββ default.xml
β β βββ environments
β β β βββ testenv
β β β βββ debugmask.json
β β β βββ deployments.json
β β β βββ flowhooks.json
β β β βββ keystores.json
β β β βββ targetservers.json
β β βββ sharedflows
β βββ tests
βββ target
βββ emulator
βββ testdata
βββ 5040f7b90fcf
β βββ analytics_results.json
βββ 841ef454aabf
β βββ analytics_results.json
βββ b4d1e6ab8ac6
βββ analytics_results.json
Could someone please help me understand what might be causing this issue and how I can resolve it?
Thank you!