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/03/21 08:51:58 UTC

[GitHub] [superset] srinisubramanian commented on issue #19268: slug is not updated when importing dashboard via API

srinisubramanian commented on issue #19268:
URL: https://github.com/apache/superset/issues/19268#issuecomment-1073645162


   I had not set VERSIONED_EXPORT as I thought it was defaulted to True and hence was doing the JSOn stuff.
   
   Anyways I now added it to superset_config.py and cleared out the database and reinitialized the test instance.  Also changed dev landscape to include the VERSIONED_EXPORT.  The export API now downloaded a zip file.
   
   Then attempted the import via the API.  THrows a 500 error:
   ```
   2022-03-21 14:20:56,235:INFO:werkzeug:127.0.0.1 - - [21/Mar/2022 14:20:56] "POST /api/v1/dashboard/import HTTP/1.1" 308 -
   Command failed validation
   2022-03-21 14:20:56,358:INFO:superset.dashboards.commands.importers.dispatcher:Command failed validation
   Error importing dashboard
   2022-03-21 14:20:56,358:WARNING:superset.views.base:Error importing dashboard
   2022-03-21 14:20:56,361:INFO:werkzeug:127.0.0.1 - - [21/Mar/2022 14:20:56] "POST /api/v1/dashboard/import/ HTTP/1.0" 500 -
   ```


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