Deploying a remote staging environment

Hey everyone,

I’ve deployed Forest on my staging remote server, but it’s saying that I’m running Forest on my local environment, and there’s this request and error :

https://xxx/forest/coverLists?fields%xxx%5D=createdAt%xxx%xxx%xxx%5D=id&page%5Bnumber%5D=1&page%5Bsize%5D=15&searchExtended=0&sort=-id&timezone=Europe%2FParis

{errors: [{status: 403, detail: "Forbidden", name: "ForbiddenError"}]}
errors: [{status: 403, detail: "Forbidden", name: "ForbiddenError"}]

“forest-express-sequelize”: “^7.0.0”,

Thanks a lot !

Hello @caid,

Following up from this issue`.

Just to be sure, we are talking about the “Dev” environment, located on your “dev-forest” subdomain right?

From what I see, your role definition says that no collection permission is set to “true” or “allow”.

Can you please check if this is the case in your project settings?

Thank you

Hey @Guillaume_Deslandes !

Yes it’s the one that has a problem :confused:
I just added the CRUD rights to the dev team in the project settings (weird that I have to do it manually, didn’t have to do that for preprod and prod) and now it’s workingggg :partying_face: :tada: :confetti_ball:
Thanks a lot @Guillaume_Deslandes !!!
There is a small problem now, I have 2 dev that is targeting the same url :

best,

Hey everyone,

We just found out with @Harold that by changing the name of the environment “Dev” → to “Staging” that removed the duplicated environment :
Capture d’écran 2021-03-23 à 17.08.14

Thanks to you guys!!!

1 Like