langflow
langflow copied to clipboard
Unable to call an API on the custom component
Bug Description
I created a custom component which calls an external API with all necessary auth variables defined but I get either an API key error when I use the SDK or 401 (unauthorized) when I use the requests library.
The API works independently on other scripts but when I use the custom component, it gives me the error.
Is there any way to solve this?
Reproduction
Calling any endpoint on the custom component.
Expected behavior
I am only returning success or fail as the output message for the playground so I think that is what is expected.
Who can help?
No response
Operating System
Mac OS
Langflow Version
1.1.1
Python Version
3.10
Screenshot
No response
Flow File
No response
Makes sense to me 👍🏻