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 '[email protected];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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to