Skip to content

[Bug Report: Documentation Errors] Issues posting a message to a Custom Conversation Provider #107

@yotomations

Description

@yotomations

🐛 Describe the Bug

I created a custom conversation provider via a GHL plugin. When I try to call it it using a private Integration key scoped to a sub-account, I get:
You don't have access to the conversationProvider with id: {myConvProviderId}

I'm using the https://services.leadconnectorhq.com/conversations/messages/inbound endpoint with this payload (Which works great when i don't specify a conversationProviderId)

{
  "type": "Custom",
  "message": "Any Message,
  "conversationId": "<The right Conversation ID>",
  "conversationProviderId": "<myConvProviderId>",
  "altId": "<AnyAltID>",
  "direction": "inbound",
  "date": "2025-07-31T19:40:07.843-04:00"
}

Am I missing something or is this a bug?

📍 API Endpoint

https://services.leadconnectorhq.com/conversations/messages/inbound

✅ Expected Behavior

A messasge should be posted to under conversation provider

💻 Screenshots or Code Samples

No response

Product Area

conversations

🧠 Additional Context

The Full Response I'm getting is this:

  {
    "conversationId": "<MyConvID>",
    "error": {
      "message": "400 - \"{\\\"message\\\":\\\"Invalid conversationProviderId\\\",\\\"error\\\":\\\"Bad Request\\\",\\\"statusCode\\\":400}\"",
      "name": "AxiosError",
      "stack": "AxiosError: Request failed with status code 400\n    at settle (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/axios@1.8.3/node_modules/axios/lib/core/settle.js:19:12)\n    at RedirectableRequest.handleResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/axios@1.8.3/node_modules/axios/lib/adapters/http.js:547:9)\n    at RedirectableRequest.emit (node:events:530:35)\n    at RedirectableRequest._processResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js:409:10)\n    at ClientRequest.RedirectableRequest._onNativeResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js:102:12)\n    at Object.onceWrapper (node:events:633:26)\n    at ClientRequest.emit (node:events:518:28)\n    at HTTPParser.parserOnIncomingClient (node:_http_client:716:27)\n    at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)\n    at TLSSocket.socketOnData (node:_http_client:558:22)\n    at TLSSocket.emit (node:events:518:28)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at TLSSocket.Readable.push (node:internal/streams/readable:392:5)\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:189:23)\n    at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)\n    at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/axios@1.8.3/node_modules/axios/lib/core/Axios.js:45:41)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at invokeAxios (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.103.0_encoding@0.1.13_ws@8.17.1_zod@3.25.67_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:315:10)\n    at proxyRequestToAxios (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.103.0_encoding@0.1.13_ws@8.17.1_zod@3.25.67_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:707:20)\n    at Object.request (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.103.0_encoding@0.1.13_ws@8.17.1_zod@3.25.67_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1753:4)",
      "code": "ERR_BAD_REQUEST",
      "status": 400
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions