You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module works fine using standard fonctions (in particular GET on products)
But I need to update a field, and in PATH function, there is no ability to update specific fields, so I need to use HTTP Request with a Predefined credential
With that the credential failed
{
"status":
"rejected",
"reason":
{
"message":
"Authorization failed - please check your credentials",
"timestamp":
1699441130211,
"name":
"NodeApiError",
"description":
"401 - "{\"code\":401,\"message\":\"The access token provided is invalid.\"}" - {"code":401,"message":"The access token provided is invalid."}",
"context":
{
},
"cause":
{
"message":
"401 - "{\"code\":401,\"message\":\"The access token provided is invalid.\"}"",
"name":
"Error",
"stack":
"Error: 401 - "{\"code\":401,\"message\":\"The access token provided is invalid.\"}" at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12) at RedirectableRequest.handleResponse (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:238:9) at RedirectableRequest.emit (node:events:526:35) at RedirectableRequest.emit (node:domain:489:12) at RedirectableRequest._processResponse (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:368:10) at ClientRequest.RedirectableRequest._onNativeResponse (/usr/local/lib/node_modules/n8n/node_modules/follow-redirects/index.js:65:10) at Object.onceWrapper (node:events:629:26) at ClientRequest.emit (node:events:514:28) at ClientRequest.emit (node:domain:489:12) at HTTPParser.parserOnIncomingClient (node:_http_client:700:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) at TLSSocket.socketOnData (node:_http_client:541:22) at TLSSocket.emit (node:events:514:28) at TLSSocket.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:324:12)"
}
}
}
I tryed with a simple GET to get product information (working with the node function) and it failed to with the same error
The module works fine using standard fonctions (in particular GET on products)
But I need to update a field, and in PATH function, there is no ability to update specific fields, so I need to use HTTP Request with a Predefined credential
With that the credential failed
I tryed with a simple GET to get product information (working with the node function) and it failed to with the same error
In the debugging console, we can see
Do I need to add something in the header?
Thanks for your help
The text was updated successfully, but these errors were encountered: