You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "jenarosm (via GitHub)" <gi...@apache.org> on 2023/06/09 07:11:40 UTC
[GitHub] [superset] jenarosm opened a new issue, #24336: swagger/v1/dataset/import not working
jenarosm opened a new issue, #24336:
URL: https://github.com/apache/superset/issues/24336
When trying to import a dataset from an exported dataset yaml I canĀ“t seem to get it to work.
Also tried using python following the notebook found in the API presentation but no luck either.
#### How to reproduce the bug
Using swagger/v1/dataset/export to get the yaml file
Delete this dataset from Superset.
Using swagger/v1/dataset/import upload previously exported yaml file
### Expected results
Dataset imported succesfully
### Actual results
Code: 200
Response body: A html page
#### Screenshots
![image](https://github.com/apache/superset/assets/51678677/d0c5c4a1-246a-4b21-a463-319aedac7bd1)
### Environment
- browser type and version: Microsoft Edge 114.0.1823.41
- superset version: 1.3.2
- python version: 3.7.12
### Additional context
Also tried using superset version 2.1.0
Someone suggested adding a random value to password string solves this issue but it does not seem to work
--
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] swagger/v1/dataset/import not working [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #24336:
URL: https://github.com/apache/superset/issues/24336#issuecomment-1977340042
This version of Superset is no longer supported. If anyone is 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
[GitHub] [superset] sebastianliebscher commented on issue #24336: swagger/v1/dataset/import not working
Posted by "sebastianliebscher (via GitHub)" <gi...@apache.org>.
sebastianliebscher commented on issue #24336:
URL: https://github.com/apache/superset/issues/24336#issuecomment-1597117226
Did you disable CSRF or tried providing a CSRF token?
Here's an example how to pass this token: https://github.com/apache/superset/discussions/18337#discussioncomment-6050820
--
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] swagger/v1/dataset/import not working [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #24336: swagger/v1/dataset/import not working
URL: https://github.com/apache/superset/issues/24336
--
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] jenarosm commented on issue #24336: swagger/v1/dataset/import not working
Posted by "jenarosm (via GitHub)" <gi...@apache.org>.
jenarosm commented on issue #24336:
URL: https://github.com/apache/superset/issues/24336#issuecomment-1621637308
I still get an error while trying to import the dataset as a yaml file.
That yaml file is the same file generated by exporting a dataset.
--
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