1

I was following the Advent of Agent and was building the multi-agent app with Firecrawl.

When I am using this line FIRECRAWL_API_KEY: "${FIRECRAWL_API_KEY}" inside the research_agent.yaml and the actual value inside the .env file, it is giving me below error "The research agent encountered an "Unauthorized: Invalid token" error when attempting to access the site." But when I am putting the same key inside the research_agent.yaml file, it is working fine. I don't think we are supposed to expose the key inside the yaml file, rather it should get the value from .env file.

Any idea what can be the reason for this error?

Here is the Github Code: https://github.com/suddeb/Advent-of-Agents/tree/main/multi_agent

asked Dec 10, 2025 at 21:19

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.