# Voyage II: Configuring the router

**URL:** <https://community.apollographql.com/t/voyage-ii-configuring-the-router/6747>\
**Category:** Server\
**Tags:** server, federation, studio, odyssey\
**Created:** [September 21, 2023, 9:00am UTC](https://community.apollographql.com/t/voyage-ii-configuring-the-router/6747 "2023-09-21T09:00:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacqueline\_Walsh](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/jacqueline_walsh/32/4408_2.png) [@Jacqueline\_Walsh](https://community.apollographql.com/u/Jacqueline_Walsh)\
**Post date:** [September 21, 2023, 9:00am UTC](https://community.apollographql.com/t/voyage-ii-configuring-the-router/6747/1 "2023-09-21T09:00:36Z")

</div>

I have followed the steps to add Authorization in the monolith/index.js and run the router with the configuration. My problem occurs when I try to Test the Authorization headers. Having added the headers to apollo studio as “Authorization” and “Bearer user-1” and run the test for hostListings I am facing the below error. Sorry for the screen shot I am working on a separate computer.

 ![IMG_2075](https://us1.discourse-cdn.com/flex019/uploads/apollographql/original/2X/5/5f6bd9870c724c91796919bb61dd428748b7cb2a.jpeg)

---

<div class="post-metadata">

**Author:** ![Michelle\_Mabuyo](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/michelle_mabuyo/32/80_2.png) [@Michelle\_Mabuyo](https://community.apollographql.com/u/Michelle_Mabuyo)\
**Post date:** [September 25, 2023, 6:31pm UTC](https://community.apollographql.com/t/voyage-ii-configuring-the-router/6747/2 "2023-09-25T18:31:31Z")

</div>

Hey there @Jacqueline_Walsh! It looks like the headers aren’t being passed over correctly. Can you send a screenshot of the Headers section in the Explorer? Would you also be able to show your code? Hope we can troubleshoot this together!

---

<div class="post-metadata">

**Author:** ![Jacqueline\_Walsh](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/jacqueline_walsh/32/4408_2.png) [@Jacqueline\_Walsh](https://community.apollographql.com/u/Jacqueline_Walsh)\
**Post date:** [September 26, 2023, 6:55am UTC](https://community.apollographql.com/t/voyage-ii-configuring-the-router/6747/3 "2023-09-26T06:55:33Z")

</div>

Hi Michelle thanks for the reply. You are absolutely correct, somehow my headers had been commented out, not sure how that happened but once I uncommented them the code now works. Thanks for the help 😃

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:48pm UTC](https://community.apollographql.com/t/voyage-ii-configuring-the-router/6747/4 "2025-02-06T20:48:17Z")

</div>


