# Cannot access REST API documentation using Swagger with WSE 4.8.14+9

**URL:** <https://community.wowza.com/t/cannot-access-rest-api-documentation-using-swagger-with-wse-4-8-14-9/93668>\
**Category:** Wowza Streaming Engine\
**Created:** [August 9, 2021, 6:18am UTC](https://community.wowza.com/t/cannot-access-rest-api-documentation-using-swagger-with-wse-4-8-14-9/93668 "2021-08-09T06:18:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filiz\_Celik](https://avatars.discourse-cdn.com/v4/letter/f/858c86/32.png) [@Filiz\_Celik](https://community.wowza.com/u/Filiz_Celik)\
**Post date:** [August 9, 2021, 6:18am UTC](https://community.wowza.com/t/cannot-access-rest-api-documentation-using-swagger-with-wse-4-8-14-9/93668/1 "2021-08-09T06:18:21Z")

</div>

Hi  
I am tring to access documentation following the instructions in  
[https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api](https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api).

However, I get the error "Can’t read swagger JSON from [http://localhost:8089/api-docs."](http://localhost:8089/api-docs.%22)  
I can run command such as below and it works just fine, so I assume there is no problem with REST API.

Can you help me run the documentation server?

thanks in advance

---

<div class="post-metadata">

**Author:** ![Filiz\_Celik](https://avatars.discourse-cdn.com/v4/letter/f/858c86/32.png) [@Filiz\_Celik](https://community.wowza.com/u/Filiz_Celik)\
**Post date:** [August 9, 2021, 6:19am UTC](https://community.wowza.com/t/cannot-access-rest-api-documentation-using-swagger-with-wse-4-8-14-9/93668/2 "2021-08-09T06:19:03Z")

</div>

Running curl command:  
curl -X GET --diglication/json; charset=utf-8" -H “Content-Type:application/json; charset=utf-8” [http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles

---

<div class="post-metadata">

**Author:** ![Filiz\_Celik](https://avatars.discourse-cdn.com/v4/letter/f/858c86/32.png) [@Filiz\_Celik](https://community.wowza.com/u/Filiz_Celik)\
**Post date:** [August 9, 2021, 7:32am UTC](https://community.wowza.com/t/cannot-access-rest-api-documentation-using-swagger-with-wse-4-8-14-9/93668/3 "2021-08-09T07:32:09Z")

</div>

And here is server.xml

\<?xml version="1.0" encoding="UTF-8"?\> Wowza Streaming Engine Wowza Streaming Engine is robust, customizable, and scalable server software that powers reliable streaming of high-quality video and audio to any device, anywhere. true \* 8087 none bcrypt true false JKS TLS SunX509 \* false true 8089 none / swagger.json/ restUserHTTPHeaders Access-Control-Allow-Origin:\*|Access-Control-Allow-Methods:OPTIONS,GET,PUT,DELETE,POST|Access-Control-Allow-Headers:Content-Type ${com.wowza.wms.TuningAuto} \* 8083 Server,VHost,VHostItem,Application,ApplicationInstance,MediaCaster,Module,IdleWorker true false localhost localhost 8084 8085 true ${com.wowza.wms.ConfigHome}/conf/jmxremote.password ${com.wowza.wms.ConfigHome}/conf/jmxremote.access false Shockwave Flash|CFNetwork|MacNetwork/1.0 (Macintosh) mp4 com.wowza.wms.mediacache.impl.MediaCacheServerListener ${com.wowza.wms.TuningAuto} ${com.wowza.wms.TuningAuto} 6970 false

---

<div class="post-metadata">

**Author:** ![Tim\_Dougherty](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/tim_dougherty/32/596_2.png) [@Tim\_Dougherty](https://community.wowza.com/u/Tim_Dougherty)\
**Post date:** [August 18, 2021, 8:56pm UTC](https://community.wowza.com/t/cannot-access-rest-api-documentation-using-swagger-with-wse-4-8-14-9/93668/4 "2021-08-18T20:56:43Z")

</div>

Did you configure the documentation server, as described in the “How to access…” document? You need to have port 8089 open, so be sure there isn’t a firewall issue.

Also, note that http://[server-ip]:8089 is an API port - no Swagger web page is served from this URL. You need to separately load the web pages listed in the setup document. I have one hosted on S3, just for convenience. I update the [server-ip]:8089 field. on this page, depending on the server I am working on.

[http://tdougherty.s3.us-west-1.amazonaws.com/wse\_api/index.html](http://tdougherty.s3.us-west-1.amazonaws.com/wse_api/index.html)
