Most likely your server has CORS misconfigured and requires authentication for OPTION calls.
Find a way to disable that and it should work. From: <[email protected]> on behalf of Muhammed Oladipupo Elegbede <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, September 14, 2017 at 23:28 To: Swagger <[email protected]> Subject: Swagger 2.0 TypeError: NetworkError when attempting to fetch resource. Hi all, I have successfully written my documentation both online and locally on my machine. When I do a try it out to test the API, it generates the right curl syntax. When I run this curl locally on my machine, everything works fine and the desired result comes through. However on the swagger documentation interface, it returns: TypeError: NetworkError when attempting to fetch resource. and the status code stands at:401 UNAUTHORIZED I would appreciate any pointer as to what could be wrong. I am struggling with this badly. Thanks. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
