Unable to log in to environment

We are experiencing this again this morning: Unable to access certain forest environments

curl 'https://woodpecker.dev.fini.city/forest/sessions' -X POST -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://app.forestadmin.com/' -H 'Content-Type: application/json; charset=utf-8' -H 'Origin: https://app.forestadmin.com' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: cross-site' --data-raw '{"email":"andrew******@finicity.com","password":"**********","token":null,"twoFactorRegistration":false,"renderingId":"102807","projectId":"21447"}'

Results with:
{"source":"71d6f6472f718277ff2f5943871ffcae","code":3001,"status":400,"title":"UNKNOWN ERROR","message":"Missing required authentication headers","user_message":"Missing required authentication headers","tags":""}

FOREST_CLIENT_ID is not set for this environment but there still seems to be some CORS issue.

Hello @Andrew_Prior,

We finally find the culprit. It appears that your schema is going from version 8 back to version 6 to version 8 and so forth. That cause the FRONT end to call the old authentication route /forest/sessions (version 6) instead of the new one forest/authentication (version 7 & 8).

We think that one of your developer is push a .forestadmin-schema.json with version 6 instead of version 8, maybe he doesn’t have the right forest-express-sequelize on his machine.

  • In order to confirm, can you double check the actual version of liana_version in the .forestadmin-schema.json to be sure that we are on the right track ?

  • Then can you check with your team who’s causing the issue ?

Let me know if it solves your issue this time.

Kind regards,

1 Like

Hey @Andrew_Prior,

Did you manage to resolve the issue on your side ? :pray:

Kind regards,