Query creation at destination failed: 403 Client Error: FORBIDDEN with `redash-migrate queries`
See original GitHub issueIssue
I can’t migrate queries with redash-migrate queries
from the hosted redash to OSS redash v10.0.0, even though I was able to migrate data sources, groups, users and destinations. When I tested migrating the hosted redash to a local docker-compose of the redash repository, redash-migrate queries
worked. However, it doesn’t work on the destination instance in Google Kubernetes Engine.
Environment
- Python: 3.8.12
- redash: v10.0.0
- redash-toolbelt: both of 0.1.7 and 0.1.6
Error
$ redash-migrate queries
Import queries...
Query 172644 - OK - importing
Query 172644 - FAIL - Query creation at destination failed: 403 Client Error: FORBIDDEN for url: https://redash-qa.xxx.dev/api/queries
Query 173527 - OK - importing
Query 173527 - FAIL - Query creation at destination failed: 403 Client Error: FORBIDDEN for url: https://redash-qa.xxx.dev/api/queries
...
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Issues · getredash/redash-toolbelt - GitHub
API client and utilities to manage a Redash instance - Issues · getredash/redash-toolbelt. ... Redash-migrate not migrating queries and dashboard.
Read more >What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
Often, HTTP 403 forbidden errors are caused by an access misconfiguration on the client-side, which means you can usually resolve the issue yourself....
Read more >HTTP Error 403 Forbidden: What It Means and How to Fix It
The 403 response belongs to the 4xx range of HTTP responses: Client errors. This means either you, or your browser, did something wrong....
Read more >403 Forbidden Error: What It Is and How to Fix It - Airbrake Blog
A detailed explanation of what a 403 Forbidden Error response is, including troubleshooting tips to help you resolve this error.
Read more >Google Big-query api 403-Forbidden Exception - Stack Overflow
When using the BigQuery API, you need to construct the client with OAuth credentials for some user. For programmatic access, this is often...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally, I have solved the issue. We have to grant the
admin
permissins to users, because the redash client impersonates each users when creating queries. So, they must have the permission to create queries.Hi, I am also encountering the same problem. Above 300 queries have been failed and do not migrate.