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/11/22 05:20:24 UTC

[GitHub] [superset] mikri2017 opened a new issue, #22191: Don't working export by API in last master branch

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

   I have error when export dashboard by API:
   
   ```
   import requests
   
   url = "http://test-spsetdev.local:8088/api/v1/dashboard/export/"
   
   params = {
       'q': 34
   }
   
   res = requests.get(url, params=params)
   ```
   
   Receive error:
   `{"message":"Not a valid rison schema 34 is not of type 'array'\n\nFailed validating 'type' in schema:\n    {'items': {'type': 'integer'}, 'type': 'array'}\n\nOn instance:\n    34"}`
   
   Also, this error in swagger:
   `http://test-spsetdev.comandor.local:8088/api/v1/dashboard/export/?q=%5B%2234%22%5D`
   


-- 
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


Re: [I] Don't working export dashboard by API in last master branch [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #22191: Don't working export dashboard by API in last master branch
URL: https://github.com/apache/superset/issues/22191


-- 
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] ShaliniIruvuru commented on issue #22191: Don't working export dashboard by API in last master branch

Posted by "ShaliniIruvuru (via GitHub)" <gi...@apache.org>.
ShaliniIruvuru commented on issue #22191:
URL: https://github.com/apache/superset/issues/22191#issuecomment-1476428732

   Not getting any error while exporting dashboard by API.Working fine.But, When we need to pass the dashboard id in query parameter’s as list then only it is working fine.
   Screenshot:-
   ![image](https://user-images.githubusercontent.com/115684419/226386231-b6a436b5-4817-4aa6-bec7-dca4c7c3cfaf.png)
   


-- 
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


Re: [I] Don't working export dashboard by API in last master branch [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #22191:
URL: https://github.com/apache/superset/issues/22191#issuecomment-1961788406

   This is likely fixed by now, and is pretty out of date if not. If people are still encountering this in current versions (3.x) please open a new Issue or a PR to address the problem.  
   


-- 
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