Superset 4.0.2: The REST API for thumbnail download is not working #30988
Unanswered
HARIP9080
asked this question in
Q&A / Help
Replies: 1 comment 7 replies
-
Hey @HARIP9080! 👋 Hope you're doing well. I'm here to help you with any bugs, questions, or contributions you have. Just give me a shout if you need assistance! The 404 "Not found" error for the "app/v1/{pk}/thumbnail/{digest}" endpoint in Superset 4.0.2 likely occurs because the chart with the specified primary key ( |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all!
hope y'll doing great .
the endpoint for the above api is app/v1/{pk}/thumbnail/{digest}. Here in this im getting 404 and the response body is :
{
"message":Not found
}
even the caching is also enabled and changed the superset_config.py file.below the config file.i'm passing the required params also.
SECRET_KEY = '***'
Enable PNG export for dashboards
ENABLE_JAVASCRIPT = True
THUMBNAIL_ENABLED = True
Enable PNG export for dashboards
ENABLE_JAVASCRIPT = True
SCREENSHOT_FEATURE_ENABLED = True # Enables screenshot capture
Enable exporting dashboards as PNG
EXPORT_PNG_ENABLED = True
from cachelib.redis import RedisCache
Redis configuration
CACHE_CONFIG = {
"CACHE_TYPE": "RedisCache",
"CACHE_DEFAULT_TIMEOUT": 300, # Cache timeout in seconds
"CACHE_KEY_PREFIX": "superset_",
"CACHE_REDIS_HOST": "redis", # Redis service name in docker-compose
"CACHE_REDIS_PORT": 6379,
"CACHE_REDIS_DB": 0, # Default Redis database
"CACHE_REDIS_URL": "redis://redis:6379/0", # Redis URL
}
DATA_CACHE_CONFIG = CACHE_CONFIG # Use the same config for data cache
@dosu
Beta Was this translation helpful? Give feedback.
All reactions