Hi ! I am trying to deploy Prefect Server and UI o...
# ask-community
m
Hi ! I am trying to deploy Prefect Server and UI on Amazon ECS (Fargate). But I have a problem… Deploying seems to succeed. However, when I opened the Prefect UI screen, the page did not seem to display correctly. When I look at the console of Google Chrome, I get the following error.
Copy code
Uncaught (in promise) Error: passed invalid or empty tenant object
    at l.setDefaultTenant (index.js:51)
    at vuex.esm.js:840
    at vuex.esm.js:462
    at Array.forEach (<anonymous>)
    at vuex.esm.js:461
    at l._withCommit (vuex.esm.js:620)
    at l.commit (vuex.esm.js:460)
    at l.commit (vuex.esm.js:405)
    at tenantNavGuard.js:12
    at u (runtime.js:63)
Does anyone have any idea how to solve this problem ? By the way, the architecture on AWS is as follows.
Copy code
client - ALB - ECS (Fargate)
1
n
Hi @MasatoShima - have you run
prefect server create-tenant --name <<tenant_name>> --slug <<tenant_slug>>
on your Server?
m
Thank you for your answer ! The Prefect UI is now displayed successfully ! Thank you very much for your help !
👍 1