Error Transferring Data From Local To Remote


I’ve been trying to run Strapi transfer, however I keep getting the following error:
error: [FATAL] Failed to initialize the connection: Authorization Error

I tried the following from the root of my local project:
npm run strapi transfer -- --to https://<DOMAIN>/admin --to-token <TOKEN>

I researched and I have checked these steps:

  • make sure /admin is in the remote URL
  • have the TRANSFER_TOKEN_SALT on the remote

I am using Strapi 4.22.1 and the app is deployed on AWS app runner.

This topic has been created from a Discord post (1237723661935316992) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Well… I just found the “bug”… AWS App Runner does not support websocket and since Strapi attempts on opening a websocket connection for the data transfer to remote, it will just not work…