When using the built-in CrowdStrike OAuth2 API credentials, a failed HTTP Request to the API (HTTP response code 401) does not get automatically result in an OAuth2 token refresh.
If I open the credential within n8n and wait for the “Connection tested successfully” message, it works again. I have confirmed that in the CrowdStrike API request audit, no token refresh is taking place until I manually open the credential within n8n and test it.
What is the error message (if any)?
The API return with the 401 HTTP error code and the message “access denied, invalid bearer token”.
Would either of you be able to run a test version of n8n to see if it resolves the issue or if you are able to would you be able to create me a limited access test account to your Crowdstrike instance? Feel free to drop me a DM if either option is good for you.
While I will not be able to delegate access to our crowdstrike, I can spin up a test instance in docker and test it out if there is a release i should target.
We’re encountering the same problem. I was wondering if there may be a way to workaround it for now while the root cause is being fixed.
Is there a programatic way to do whatever the “test credential” button is doing in the credential editor? If so, we could make our workflows do that step right before CrowdStrike API access.
I updated to 1.38.2 today and the issue still exists for me.
It is also a problem that the node itself doesn’t error when it fails, but rather outputs the error in a seperate object that i need to filter and create my own error handling based upon
When I connect the account it always says it couldn’t connect (but it does work still in node for my query)… at least until token expires and never refreshes either
I am moving over my authentication to generic OAUTH2 API instead
Seems to be working ok here in this config, but time will tell if it encounters the same issue with the refresh token. Doubtful since it’s using client credentials instead of authorization code i would think