I guess my issue related to this issue
When I’m trying to connect my zendesk account I am not able to authorize and I’m getting an error.
Here is the error message
{"code":0,"message":"Cannot read properties of undefined (reading 'globalRole')","hint":"","stack":"TypeError: Cannot read properties of undefined (reading 'globalRole')\n at whereClause (/usr/local/lib/node_modules/n8n/dist/src/CredentialsHelper.js:352:14)\n at Object.getCredentialForUser (/usr/local/lib/node_modules/n8n/dist/src/CredentialsHelper.js:361:16)\n at /usr/local/lib/node_modules/n8n/dist/src/Server.js:1120:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/route.js:137:13)\n at Route.dispatch (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/route.js:112:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:281:22\n at Function.process_params (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:341:12)\n at next (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:275:10)\n at /usr/local/lib/node_modules/n8n/dist/src/UserManagement/routes/index.js:91:9\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:323:13)\n at /usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:341:12)\n at next (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:275:10)\n at /usr/local/lib/node_modules/n8n/dist/src/UserManagement/routes/index.js:61:13\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/layer.js:95:5)\n at trim_prefix (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:323:13)\n at /usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:284:7\n at Function.process_params (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:341:12)\n at next (/usr/local/lib/node_modules/n8n/node_modules/express/lib/router/index.js:275:10)"}
This is my docker config
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
-e N8N_BASIC_AUTH_ACTIVE=true\
-e N8N_BASIC_AUTH_USER=hasan\
-e N8N_BASIC_AUTH_PASSWORD=hasan\
-e N8N_AUTH_EXCLUDE_ENDPOINTS="rest/oauth2-credential/callback" \
n8nio/n8n:0.169.0
Note: when I use version 0.167.0 it works

