Import dashboard API #27381
Davidkramer1999
started this conversation in
General
Replies: 1 comment
-
Hello, use session.post instead of requests.post |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug description
So I have written the script which enables you to migrate trought api dashboards. So this code worked prfectly worked on version 2.0. I'm keep getting error when calling "POST /api/v1/dashboard/import/ HTTP/1.1". This is the code i have used. Pyhton version 3.9
https://github.com/Davidkramer1999/superset_migration
How to reproduce the bug
Screenshots/recordings
From docker logs
![image](https://private-user-images.githubusercontent.com/74869455/309774862-25c566dc-4cec-42ed-8366-ceff8df02203.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMDc3OTYsIm5iZiI6MTczOTEwNzQ5NiwicGF0aCI6Ii83NDg2OTQ1NS8zMDk3NzQ4NjItMjVjNTY2ZGMtNGNlYy00MmVkLTgzNjYtY2VmZjhkZjAyMjAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDEzMjQ1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2MDEzYTg2ZDBkOWExYzVkOTc2Y2ZlYTY3ZTc3YWE4Y2JjZmE2MTcyMjQ4ZjVmOThhNjMyNzY4NjQyODE5MWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lMqP72qqJeN60xNM-uqnRV-ngzAPxwQsZkvzPpC-ZKY)
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions