Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credentials not saving properly in workflow #12339

Open
BandicootApps opened this issue Dec 21, 2024 · 2 comments
Open

Credentials not saving properly in workflow #12339

BandicootApps opened this issue Dec 21, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@BandicootApps
Copy link

Bug Description

Issue:
When adding Supabase credentials in the workflow builder, I get a success message confirming the credentials are connected. However, when I run the flow, it fails, saying I don't have access and to check the credentials.

Details:

The issue only happens in the workflow builder.
If I add the credentials directly to the project (outside the workflow builder), everything works fine.
Impact:
This caused confusion and wasted time as it wasn't clear what was going wrong.


I have added images below so you can see what i am talking about:

Screen Shot 2024-12-22 at 6 54 31 am

Screen Shot 2024-12-22 at 6 55 03 am

Screen Shot 2024-12-22 at 6 55 25 am

Screen Shot 2024-12-22 at 7 10 04 am

To Reproduce

Check above message

Expected behavior

Credentials say they are connect/ saved when they are not.

Would like this to reflect the actual status of the project credentials.

Operating System

mac

n8n Version

n8n@1.71.1

Node.js Version

i am using online

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Dec 21, 2024

Hey @BandicootApps,

We have created an internal ticket to look into this which we will be tracking as "N8N-7999"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Dec 21, 2024
@jcn8n
Copy link

jcn8n commented Jan 2, 2025

Hey @BandicootApps sorry for the delay on getting back to you on this. I've just been taking a look but couldn't replicate the issue so I'm wondering what else could be causing this. When creating credentials on a workflow, inside a specific project, they should be created inside the context of that project and therefore automatically be available to use in there.

The only way I can imagine this happening would be if those credentials had been created by another user on your instance and then as the instance owner, you were trying to use them (as they would be visible) but had not been shared yet. Is that possible?

Assuming you're still seeing the issue, could you show the sharing tab on the credential you're trying to use and confirm which project both the workflow and supabase credential are in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

3 participants