Describe the issue/error/question
I can’t make any requests to the self-hosted n8n instance from Postman,
I can’t also make request to self-hosted n8n from the workflow that is in same URL;
I used the same info that is written in Swagger UI
Although I can reach from Swagger UI which is accessible on the self-hosted url;
I can’t figure out why it is giving me “401 Authorization is required!” error on Postman although I’m giving the api key on the header?
Information on your n8n setup
self-hosted Version 0.209.4
I solved it!
It needed basic auth for self-hosted n8n and header auth for my workflow.
When I enter both, it worked;
To add, if you swap to user management instead of the basic auth. You will not need to have both anymore.
And where can I swap to user management?
not 100% sure.
I know someone had a similar question not too long ago. But I think it might be in Discord, so harder to find.
Removing the env variables for the basic auth setup is a starting point.
Maybe a reset is needed after. But I am not sure. Might be good to wait for someone to respond to this. Or open a specific topic for this question so it can be used as a reference for others as well.
reset is talked about here:
You got it, So if you had SMTP options set up you could just follow the email password reset process. The approach by @Shirobachi looks like it would do the job and you could then set up the account again.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.