Skip to content

DO Spaces not configured on test backend — ID document upload fails with StorageError #301

@islandbitcoin

Description

@islandbitcoin

Summary

The DO_SPACES_BUCKET env var (and possibly other DO Spaces credentials) is not configured on api.test.flashapp.me. Any ID document upload in the account upgrade flow fails with:

ApolloError: This should never compile with StorageError

(PR #299 fixes the cryptic message — it will show a proper error once merged.)

Root Cause

src/services/storage/index.ts returns new StorageError("DO_SPACES_BUCKET is not configured") when the env var is missing.

Impact

Blocks full testing of flash-mobile PR #400 (feat/business-account). ID document upload broken on test env.

Required env vars on api.test.flashapp.me

  • DO_SPACES_BUCKET
  • DO_SPACES_ENDPOINT
  • DO_SPACES_REGION
  • DO_SPACES_ACCESS_KEY
  • DO_SPACES_SECRET_KEY

cc @ben — please configure DO Spaces on the test server.

Related

Metadata

Metadata

Assignees

Labels

In-housingReduce dependencies on external service providers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions