Working on Local but getting failed but getting failed via debugger

I’m stuck on Stage #FS3

It’s working as expected locally via Postman but failing via debugger
Here are my logs:

And here’s a snippet of my code:

Can you try using cURL instead? Hard to tell if postman is mangling anything in the middle, but cURL logs should be similar to the format the tester uses.

I believe the issue might be that the code is expecting the presence and order of request headers to be consistent: The tester is receiving the Host header value in the response body and that is the first header in its request. The first header in the Postman request is likely the User Agent header being set by the user with other headers (if any) being appended after that.

1 Like

Ah, nice find @jasonflorentino!

@sayedMbo I’m marking this as closed for now, please let us know if you still need help!

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.