Im trying to create a calendar event (an appointment) in GHL based on the information from the caller. The webhook is passing the info to the GHL contact nodes and creates the contact (that works fine), but the next step is to setup a HTTP request in GHL to create the calendar event. Except I keep getting errors, last night it was the authorization the problem and this morning, it says that the url is invalid, but I am using the url provided by GHL api documentation ( https://services.leadconnectorhq.com/calendars/events/appointments).
Regarding the auth, I tried both the generic using basic auth the API key from the sub account (which works in make.com) and the predefined credential type. Both gave me the same error regarding authorization failing or invalid url.
NodeApiError: Invalid URL at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1305:19) at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2095:20)