Skip to content

Failed to initialize the connection: Authentication Error #24218

@rushil-searce

Description

@rushil-searce

Node Version

22.18.0

NPM/Yarn/PNPM Version

10.9.3

Strapi Version

5.13.1

Operating System

MacOS

Database

SQLite

Javascript or Typescript

Typescript

Reproduction URL

No response

Bug Description

I’m trying to transfer data from my local Strapi instance to Strapi Cloud using the strapi transfer command, but I consistently get an Authentication Error even though I’m using the correct TRANSFER_TOKEN_SALT.

Steps to Reproduce

  1. Set up a local Strapi project.
  2. Create a Strapi Cloud instance.
  3. Copy the TRANSFER_TOKEN_SALT from Strapi Dashboard and paste it into the local .env and in the config/admin.ts
  4. Run npm run strapi transfer -- --to https://.strapiapp.com/admin
  5. Enter the transfer token when prompted.

Expected Behavior

The transfer should succeed, pushing content and media from local → Strapi Cloud, as it is shown in this video by the strapi team
How To Deploy Local Data To Strapi Cloud

Logs

[2025-08-22 01:03:49.361] error: [FATAL] Failed to initialize the connection: Authentication Error

Code Snippets

No response

Media

Image

Additional information

No response

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions