Hello, I continue to get an error when trying to create an HTTP request to get my Hedra credentials. I have several times to update my API credentials, but still get the same error. Can some please help
me resolve this? Thanks

Hello, I continue to get an error when trying to create an HTTP request to get my Hedra credentials. I have several times to update my API credentials, but still get the same error. Can some please help
@B_Alexander_Ingram Hello,
Could you try remove auth, so it none,
What we can try is using the header, so enable the header. We will then add
X-API-KEY’: API_KEY
Looking at the docks you may just be passing the key wrong, so we must ensure it’s using x-api-key etc.
Hope this helps,
Samuel
Hi Samuel and thanks for the response. I did as you suggested and removed the authorization, But, I am nor sure if I have the correct values, but here is my screenshot with the new error.
You should be able to just put x-api-key as the name, and then just paste the key as the value.
Best regards,
Samuel
Yes, I’ve tried that as well and still get an authentication error. I’ve reached out to Hedra and haven’t gotten a response back yet. Could my inability to use the API key have anything to do with me being on the n8n trial still?
Hi,
Being on the trial is not the issue in this case.
Replace the YOUR_API_KEY with your own. Then press the import cUrl in the top right and paste it.
curl -X GET 'https://api.hedra.com/web-app/public/assets' \
-H "X-API-KEY: YOUR_API_KEY"
Hello, I’m sorry but where am I pasting this?
Looking at other examples this should work. Make a new http node and paste this new curl. Make sure to replace the api key on this as well.
curl -X POST 'https://api.hedra.com/web-app/public/assets' \
-H "x-api-key: YOUR_API_KEY"
Also, I noticed there are two api versions, the legacy and the new one. Which one are you using?
The curl above is for the new one.
I clicked on the one that says API (the newest version( right above give feedback. Not the legacy. I am pretty frustrated with this entire process, becasue I can’t seem to get my request to authenticate no matter what I do. I tried using ChatGPT for help and did those steps. I also recreated just that node and still get the same error message.
It’s a bit strange, it matches the documentation and some guy did it on youtube the exact same way. Is the key maybe invalid? Could you try to create a new one in the hedra site?
I unfortunately can’t test it myself as they require a paid account to get an api key.
Yes, it’s been really troublesome not being able to use the API, but I was finally able to add it manually and things are working now. Thanks for your help.