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:
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"
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!
Hey @McCloudLovin,
We’ve seen that your question hasn’t gotten a response yet. We’ll keep checking in on this thread and encourage other members to share their thoughts.
@McCloudLovin - while we look into this. Can you try with a previous version of the emulator. You can add that version in your VSCode settings.json
For example
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |