n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
49.53k stars 7.99k forks source link

HighLevel Node #11353

Open amindavid11 opened 1 month ago

amindavid11 commented 1 month ago

Bug Description

Hi!

Got 2 endpoints that are not working as intended.

1)Get Many Contacts: When Trying to get contacts from a sub-account and selecting the "return all" toggle, the node runs to an error when the number of contacts is larger than 100: "Request failed with status code 403 The token does not have access to this location."

2) Create or update a contact: A) The Node does not fetch the Custom fields name or ID from the sub-account with the error:

There was a problem loading the parameter options from server: "Request failed with status code 404"

B)The API endpoint specifies that the upsert works with either the email or phone number of the contact, when trying to upsert a contact using only their phone number, I get the error:

"Problem in node ‘HighLevel‘ Request failed with status code 422"

If upsert is with email, the endpoint works as expected.

To Reproduce

1) Get Many Contacts End Point. 1.1 Add HighLevel Node selecting the "Get Many Contacts" 1.2 Select Credential on account with more than 100 contacts. 1.3 Toggle on the "return all" 1.4 test

2) Create or update a contact: A)Custom fields A.1 Add HighLevel Node selecting "create or update a contact" A.2 Select Credential A.3 in Add Field select Custom fields and then add field A.4 Field Name or ID won't be fetched.

B)Phone number B.1 Add HighLevel Node selecting "create or update a contact" B.2 Select Credential B.3 Input phone number with country code of existing or new contact. B.4 Test

Expected behavior

1)Get Many Contacts:

The endpoint should return all contacts in a sub account even if they have more than 100 contacts.

2) A)Custom fields:

It should be able to get the "key" of the custom field

B) Phone number:

The Node should be able to upsert a contact when just providing the phone number.

Operating System

Ubuntu 22.04

n8n Version

1.63.4

Node.js Version

20.17.0

Database

SQLite (default)

Execution mode

main (default)

Joffcom commented 1 month ago

Hey @amindavid11,

We have created an internal ticket to look into this which we will be tracking as "GHC-337"