PipedreamHQ / PipedreamHQ/pipedream

[BUG] MCP - Self-Hosted - Zoho Projects

Open
#17,641 4 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
After authenticating with the MCP server and obtaining an OAuth token, I attempted to request information about a Project and it gave me an error message.

```
{
"errors": [
"{\"code\":\"UserError\",\"message\":\"bad options response for prop: portalId\",\"ts\":\"2025-07-15T16:17:19.068Z\",\"cellId\":null,\"stack\":null,\"$debug\":null,\"name\":\"UserError\"}"
],
"observations": [
{
"ts": 1752596239059,
"k": "error",
"err": {
"name": "TypeError",
"message": "Cannot destructure property 'oauth_access_token' of 'this.$auth' as it is undefined.",
"stack": "TypeError: Cannot destructure property 'oauth_access_token' of 'this.$auth' as it is undefined.\n at Object.getHeaders (file:///pipedream/dist/code/932a68f9463dcdc0196292950eca37f4103399483b58390298d641c882060c90/code/zoho_projects.app.mjs:143:35)\n at Object.makeRequest (file:///pipedream/dist/code/932a68f9463dcdc0196292950eca37f4103399483b58390298d641c882060c90/code/zoho_projects.app.mjs:172:35)\n at Object.getPortals (file:///pipedream/dist/code/932a68f9463dcdc0196292950eca37f4103399483b58390298d641c882060c90/code/zoho_projects.app.mjs:268:19)\n at Object.options (file:///pipedream/dist/code/932a68f9463dcdc0196292950eca37f4103399483b58390298d641c882060c90/code/zoho_projects.app.mjs:14:40)\n at /var/task/node_modules/@lambda-v2/component-runtime/src/configureProp.js:82:43\n at captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:11)\n at configureProp (/var/task/node_modules/@lambda-v2/component-runtime/src/configureProp.js:81:28)\n at MessagePort. (file:///var/task/component_maker.mjs:186:15)"
}
}
],
"t": {
"ar": 1752596236917,
"br": 1752596236983,
"bp": 1752596236983,
"bls": 1752596236983,
"ble": 1752596239068,
"lcp": 1752596239057,
"le": 1752596239059
}
}
```

In the Hosted version it works.
To give more context, I am testing it on N8N workflow and the request I am sending with system prompt is the same for both Hosted and Self-Hosted.

**To Reproduce**
I gave the following prompt to my AI Agent: "Give me the name of the project manager for ...".

**Expected behavior**
The name of the project manager.

**Screenshots**
Here is what is being sent.

Image

Here is what was sent on the Hosted one, which looks fine.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.