Unable to access Storage from Studio (self hosted)
{
"level": 40,
"time": "2025-09-11T01:06:40.421Z",
"pid": 1,
"hostname": "636e989cb96f",
"region": "stub",
"reqId": "req-c",
"tenantId": "stub",
"project": "stub",
"reqId": "req-c",
"appVersion": "1.25.7",
"type": "request",
"req": {
"region": "stub",
"traceId": "req-c",
"method": "GET",
"url": "/bucket",
"headers": {
"host": "storage:5000",
"x_forwarded_proto": "http",
"x_forwarded_host": "kong",
"x_forwarded_port": "8000",
"x_forwarded_prefix": "/storage/v1/",
"x_real_ip": "172.18.0.8",
"x_client_info": "supabase-js-node/2.49.3",
"accept": "*/*",
"user_agent": "node"
},
"hostname": "storage:5000",
"remoteAddress": "172.18.0.11",
"remotePort": 39390
},
"res": {
"statusCode": 400,
"headers": {
"content_type": "application/json; charset=utf-8",
"content_length": "85"
}
},
"responseTime": 2.4935269951820374,
"error": {
"raw": "{\"metadata\":{},\"code\":\"AccessDenied\",\"httpStatusCode\":403,\"userStatusCode\":400,\"originalError\":{\"metadata\":{},\"code\":\"AccessDenied\",\"httpStatusCode\":403,\"userStatusCode\":400,\"originalError\":{\"code\":\"ERR_JWS_SIGNATURE_VERIFICATION_FAILED\",\"name\":\"JWSSignatureVerificationFailed\"},\"error\":\"Unauthorized\"},\"error\":\"Unauthorized\"}",
"name": "Error",
"message": "signature verification failed",
"stack": "Error: signature verification failed\n at Object.AccessDenied (/app/dist/internal/errors/codes.js:145:32)\n at Object.<anonymous> (/app/dist/http/plugins/jwt.js:66:36)",
"statusCode": 403
},
"role": "anon",
"resources": [],
"operation": "storage.bucket.list",
"msg": "stub | GET | 400 | 172.18.0.11 | req-c | /bucket | node"
}
{
"level": 40,
"time": "2025-09-11T01:06:40.421Z",
"pid": 1,
"hostname": "636e989cb96f",
"region": "stub",
"reqId": "req-c",
"tenantId": "stub",
"project": "stub",
"reqId": "req-c",
"appVersion": "1.25.7",
"type": "request",
"req": {
"region": "stub",
"traceId": "req-c",
"method": "GET",
"url": "/bucket",
"headers": {
"host": "storage:5000",
"x_forwarded_proto": "http",
"x_forwarded_host": "kong",
"x_forwarded_port": "8000",
"x_forwarded_prefix": "/storage/v1/",
"x_real_ip": "172.18.0.8",
"x_client_info": "supabase-js-node/2.49.3",
"accept": "*/*",
"user_agent": "node"
},
"hostname": "storage:5000",
"remoteAddress": "172.18.0.11",
"remotePort": 39390
},
"res": {
"statusCode": 400,
"headers": {
"content_type": "application/json; charset=utf-8",
"content_length": "85"
}
},
"responseTime": 2.4935269951820374,
"error": {
"raw": "{\"metadata\":{},\"code\":\"AccessDenied\",\"httpStatusCode\":403,\"userStatusCode\":400,\"originalError\":{\"metadata\":{},\"code\":\"AccessDenied\",\"httpStatusCode\":403,\"userStatusCode\":400,\"originalError\":{\"code\":\"ERR_JWS_SIGNATURE_VERIFICATION_FAILED\",\"name\":\"JWSSignatureVerificationFailed\"},\"error\":\"Unauthorized\"},\"error\":\"Unauthorized\"}",
"name": "Error",
"message": "signature verification failed",
"stack": "Error: signature verification failed\n at Object.AccessDenied (/app/dist/internal/errors/codes.js:145:32)\n at Object.<anonymous> (/app/dist/http/plugins/jwt.js:66:36)",
"statusCode": 403
},
"role": "anon",
"resources": [],
"operation": "storage.bucket.list",
"msg": "stub | GET | 400 | 172.18.0.11 | req-c | /bucket | node"
}
1 Reply
Solved, I didnt correctly set the JWT_SECRET