I try to user export/import extension for migration users from one database to another

When I try to import users from file to database I get error - Oh snap! You got an error!

An error occured while uploading the file: Bad Request

2 Likes

Hello @vasylyna.ivantsik ,

Welcome to the Community!

Can I check with you that the import file has the valid User JSON schema and properties?
Would you be able to share a snippet of the file after redacting confidential info?

Thanks!

2 Likes

I got the same error message when tried to import user. in fact we start to use external db and now i need to migrate users from internal database (i already exported them) to external one(aws rds).
i did try to use “User Import / Export” ext but not luck with it.
the error message says:
" Oh snap! You got an error!
An error occured while uploading the file: Bad Request"

i tried to import the next json:

[
    {
        "user_id": "6*******69c2",
        "email": "john.doe@test.me",
        "name": "john.doe@test.me",
        "nickname": "john.doe",l
        "logins_count": 24,
        "created_at": "2023-05-12T13:41:16.464Z",
        "updated_at": "2023-08-25T12:23:43.186Z",
        "last_login": "2023-08-25T12:23:43.186Z",
        "email_verified": true
    }
]

do you have any ideas how i can debug this issue?

1 Like