You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/22 08:17:16 UTC

[GitHub] [superset] DwijadasDey opened a new issue, #21145: Failed to load API definition

DwijadasDey opened a new issue, #21145:
URL: https://github.com/apache/superset/issues/21145

   Hi 
   I am getting "Failed to load API definition" error in the browser when trying to access API endpoint `http://SERVER_IP:8088/swagger/v1`
   
   Swagger UI is enabled in config.py [`FAB_API_SWAGGER_UI = True`]
   
   ![Screenshot from 2022-08-22 13-36-56](https://user-images.githubusercontent.com/12824049/185871432-31cf8864-3f1a-4dba-858c-64a0b9d3bc18.png)
   
   In the browse console, I can see the following two errors:
   
   `GET http://SERVER_IP:8088/api/v1/_openapi 404 (Not Found)
   `
   and
   
   `DevTools failed to load source map: Could not load content for http://SERVER_IP:8088/static/appbuilder/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE`
   
   Shall i have to enable any more feature flags to get it working ?
   
   **Environment:**
   Python 3.8.1 
   Superset 1.4.2
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on issue #21145: Failed to load API definition

Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #21145:
URL: https://github.com/apache/superset/issues/21145#issuecomment-1382679043

   I'n hoping that there may have been a bug back when 1.4 was out that's since been resolved, but I was just able to test this on a completely vanilla build of `master` where the `FAB_API_SWAGGER_UI` feature flag is on by default, accessing http://localhost:8088/swagger/v1. Since I'm unable to reproduce, and this issue hasn't had any traction, I'll mark it as fixed. If you can reproduce this in newer versions, I'm more than happy to re-open it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas closed issue #21145: Failed to load API definition

Posted by GitBox <gi...@apache.org>.
rusackas closed issue #21145: Failed to load API definition
URL: https://github.com/apache/superset/issues/21145


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org