and did you set N8N_REINSTALL_MISSING_PACKAGES
to true?
Yes but there must some way of doing this better
Hello,
Thanks for creating this node !
Iām using N8N 1.38.2 under docker and SuiteCRM 8.6
Iām trying to install it but at the moment I have 2 errors in the N8N docker logs:
The 1st, when I click on save in the SuiteCRM authentication section in N8N :
UnrecognizedNodeTypeError: Unrecognized node type: @digital-boss/n8n-nodes-billrun-suitecrm.@digital-boss/n8n-nodes-billrun-suitecrm.suiteCRM".
And the 2nd when I open the node in N8N:
2024-05-02 16:36:03 err: NodeApiError: The resource you are requesting could not be found
2024-05-02 16:36:03 at Object.getAccessToken (/home/node/.n8n/nodes/node_modules/@digital-boss/n8n-nodes-billrun-suitecrm/nodes/SuiteCrm/GenericFunctions.ts:80:9)
2024-05-02 16:36:03 at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-05-02 16:36:03 at Object.suiteCrmApiRequest (/home/node/.n8n/nodes/node_modules/@digital-boss/n8n-nodes-billrun-suitecrm/nodes/SuiteCrm/GenericFunctions.ts:30:21)
2024-05-02 16:36:03 ... 2 lines matching cause stack trace ...
2024-05-02 16:36:03 at handler (/usr/local/lib/node_modules/n8n/dist/decorators/registerController.js:72:49)
2024-05-02 16:36:03 at /usr/local/lib/node_modules/n8n/dist/ResponseHelper.js:103:26 {
2024-05-02 16:36:03 cause: AxiosError: Request failed with status code 404
2024-05-02 16:36:03 at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12)
2024-05-02 16:36:03 at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:589:11)
2024-05-02 16:36:03 at IncomingMessage.emit (node:events:529:35)
2024-05-02 16:36:03 at IncomingMessage.emit (node:domain:489:12)
2024-05-02 16:36:03 at endReadableNT (node:internal/streams/readable:1400:12)
2024-05-02 16:36:03 at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-05-02 16:36:03 at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/Axios.js:45:41)
2024-05-02 16:36:03 at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-05-02 16:36:03 at requestFn (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:567:33)
2024-05-02 16:36:03 at proxyRequestToAxios (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:570:26)
2024-05-02 16:36:03 at Object.request (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1986:50)
2024-05-02 16:36:03 at Object.getAccessToken (/home/node/.n8n/nodes/node_modules/@digital-boss/n8n-nodes-billrun-suitecrm/nodes/SuiteCrm/GenericFunctions.ts:77:11)
2024-05-02 16:36:03 at Object.suiteCrmApiRequest (/home/node/.n8n/nodes/node_modules/@digital-boss/n8n-nodes-billrun-suitecrm/nodes/SuiteCrm/GenericFunctions.ts:30:21)
2024-05-02 16:36:03 at Object.getModules (/home/node/.n8n/nodes/node_modules/@digital-boss/n8n-nodes-billrun-suitecrm/nodes/SuiteCrm/GenericFunctions.ts:89:13)
2024-05-02 16:36:03 at DynamicNodeParametersController.getOptions (/usr/local/lib/node_modules/n8n/dist/controllers/dynamicNodeParameters.controller.js:49:20)
2024-05-02 16:36:03 at handler (/usr/local/lib/node_modules/n8n/dist/decorators/registerController.js:72:49) {
2024-05-02 16:36:03 message: '404 - {"message":"Not found"}',
2024-05-02 16:36:03 code: 'ERR_BAD_REQUEST',
2024-05-02 16:36:03 config: undefined,
2024-05-02 16:36:03 request: undefined,
2024-05-02 16:36:03 response: {
2024-05-02 16:36:03 headers: [Object [AxiosHeaders]],
2024-05-02 16:36:03 status: 404,
2024-05-02 16:36:03 statusText: 'Not Found'
2024-05-02 16:36:03 },
2024-05-02 16:36:03 options: {
2024-05-02 16:36:03 url: 'https://host.docker.internal:443/Api/access_token',
2024-05-02 16:36:03 method: 'post',
2024-05-02 16:36:03 data: '{"grant_type":"client_credentials","client_id":"xxxxxxx","client_secret":"xxxxxxx"}',
2024-05-02 16:36:03 headers: [Object [AxiosHeaders]]
2024-05-02 16:36:03 },
2024-05-02 16:36:03 statusCode: 404,
2024-05-02 16:36:03 status: 404,
2024-05-02 16:36:03 error: { message: 'Not found' }
2024-05-02 16:36:03 },
2024-05-02 16:36:03 node: {
2024-05-02 16:36:03 parameters: {
2024-05-02 16:36:03 module: '',
2024-05-02 16:36:03 operation: 'get',
2024-05-02 16:36:03 description: '',
2024-05-02 16:36:03 get_limit: 100,
2024-05-02 16:36:03 logic: 'and',
2024-05-02 16:36:03 fields: {}
2024-05-02 16:36:03 },
2024-05-02 16:36:03 id: 'uuid-1234',
2024-05-02 16:36:03 name: 'Temp-Node',
2024-05-02 16:36:03 type: '@digital-boss/n8n-nodes-billrun-suitecrm.suiteCRM',
2024-05-02 16:36:03 typeVersion: 1,
2024-05-02 16:36:03 position: [ 0, 0 ],
2024-05-02 16:36:03 credentials: { suiteCrmApi: [Object] }
2024-05-02 16:36:03 },
2024-05-02 16:36:03 timestamp: 1714660563006,
2024-05-02 16:36:03 httpCode: '404',
2024-05-02 16:36:03 description: 'Not found'
2024-05-02 16:36:03 }
Do you have any idea ?
2 Likes
Would be great to see native integration with SuiteCRM. Is this on the roadmap?