Skip to content

[Bug] Add Inbound Message - 500 Errors #6

Description

@i-am-rad

🐛 Describe the Bug

If you supply the wrong conversationProviderId you get a 500 instead of a 400 and detailed error.

📍 Location

Which page/endpoint does this relate to?
https://marketplace.gohighlevel.com/docs/ghl/conversations/add-an-inbound-message

✅ Expected Behavior

What should have happened?
-Return a 400 with incorrect or nonexistent conversationProviderId

💻 Screenshots or Code Samples

{
"type": "Custom",
"conversationId": "B3ZIjGFwjGdtUHJBGoYE",
"conversationProviderId": "i plugged a locationId in here by accident which gave the 500",
"html": "test",
"subject": "test",
"emailFrom": "redacted",
"emailTo": "redacted",
"altId": "myaltidsample",
"direction": "outbound",
"date": "2025-05-19T14:24:14-04:00"
}

🧠 Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-missing-api-fieldSomething isn't working in the Highlevel API or fields are missing in the API Endpoints.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions