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/06/22 06:03:08 UTC
[GitHub] [superset] Naresh-Challa opened a new issue, #20463: Import Dashboard Failed with command validation error
Naresh-Challa opened a new issue, #20463:
URL: https://github.com/apache/superset/issues/20463
A clear and concise description of what the bug is.
#### How to reproduce the bug
Create a dashboard, save and export it (VERSIONED_EXPORT = true)
Try to import and fails with a validation error
import the dashboard using the /import API.
The issue is that a simple dashboard with just one or two charts seems to work. A more involved dashboard such as the one I am building fails
### Expected results
Import Dashboard should be successful
### Actual results
Fails import
Error:
Superset 1.5.0
API Version:
POST //api/v1/dashboard/import/ HTTP/1.1" 302 221 "-" "curl/7.65.0"
curl -k -X 'POST' 'https://superset-URL/api/v1/dashboard/import/' -H 'accept: application/json' -H "Authorization: Bearer $token" -H 'Content-Type: multipart/form-data' -F 'formData=@test1.zip;type=application/x-zip-compressed' -F 'overwrite=true' -F 'passwords={ "databases/MySQL_test.yaml":"Pwd", "databases/mysql_test2.yaml" : "PWD"}'
#### Screenshots
If applicable, add screenshots to help explain your problem.
### Environment
UAT
API superset version 1.5.0
any feature flags active:
VERSIONED_EXPORT=True from superset_config file
(please complete the following information):
- browser type and version:
- superset version: `superset version`
- python version: `python --version`
- node.js version: `node -v`
- any feature flags active:
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
### Additional context
Add any other context about the problem here.
--
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] reesercollins commented on issue #20463: Import Dashboard Failed with command validation error
Posted by GitBox <gi...@apache.org>.
reesercollins commented on issue #20463:
URL: https://github.com/apache/superset/issues/20463#issuecomment-1164322764
Are there any errors being thrown in your server's console?
--
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] chathawee commented on issue #20463: Import Dashboard Failed with command validation error
Posted by GitBox <gi...@apache.org>.
chathawee commented on issue #20463:
URL: https://github.com/apache/superset/issues/20463#issuecomment-1163909575
I got the same error when trying to import the dashboard, chart, dataset, and database.
--
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] Import Dashboard Failed with command validation error [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #20463:
URL: https://github.com/apache/superset/issues/20463#issuecomment-1932993980
I think this might have been resolved somewhere along the way, since we haven't heard of this issue in some time now. Since we're now on 3.1, on the verge of 4.0, we're not supporting 2.x or prior versions actively. If anyone is experiencing this issue in current versions, please file a new issue with updated context and repro steps. Thank you for understanding :)
--
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] Import Dashboard Failed with command validation error [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20463: Import Dashboard Failed with command validation error
URL: https://github.com/apache/superset/issues/20463
--
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] Naresh-Challa commented on issue #20463: Import Dashboard Failed with command validation error
Posted by GitBox <gi...@apache.org>.
Naresh-Challa commented on issue #20463:
URL: https://github.com/apache/superset/issues/20463#issuecomment-1164334523
405 Method Not Allowed: The method is not allowed for the requested URL.
2022-06-22 11:23:15,272:WARNING:superset.views.base:405 Method Not Allowed: The method is not allowed for the requested URL.
172.23.0.1 - - [22/Jun/2022:11:23:15 +0000] "GET /api/v1/dashboard/import/ HTTP/1.1" 405 271 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
172.23.0.1 - - [22/Jun/2022:12:23:46 +0000] "POST /api/v1/security/login HTTP/1.1" 200 559 "-" "curl/7.65.0"
Command failed validation
2022-06-22 12:24:31,483:INFO:superset.dashboards.commands.importers.dispatcher:Command failed validation
Error importing dashboard
2022-06-22 12:24:31,484:WARNING:superset.views.base:Error importing dashboard
172.23.0.1 - - [22/Jun/2022:12:24:31 +0000] "POST /api/v1/dashboard/import/ HTTP/1.1" 422 339 "-" "curl/7.65.0"
172.23.0.1 - - [22/Jun/2022:15:06:26 +0000] "GET / HTTP/1.1" 302 243 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.44"
--
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] Naresh-Challa commented on issue #20463: Import Dashboard Failed with command validation error
Posted by GitBox <gi...@apache.org>.
Naresh-Challa commented on issue #20463:
URL: https://github.com/apache/superset/issues/20463#issuecomment-1164335174

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