New Account cant be created... Is this because of Upgrading to v9?

Feature(s) impacted

I have this app connected to other platforms and from forestadmin I should be able to add a new account, but when I try to add a new account, i get this error message:
An error occurred when trying to create account: notNull Violation: accounts.accountPlaylistsId cannot be null, notNull Violation: accounts.userProfileIdKey cannot be null

I dont know why is this happening, but one posibility is that I didnt upgrade the version to v9. I am currently at v.8.0.7

However, when I try to upgrade, by my own, I didn’t fully understand what I should do, and I want to be extra careful because if I lose any connection, it will be a big problem.
Can you please help me step by step what should I do to upgrade the version correctly so there wouldn’t be any problem?

Observed behavior

when I try to add a new account, i get this error message:
An error occurred when trying to create account: notNull Violation: accounts.accountPlaylistsId cannot be null, notNull Violation: accounts.userProfileIdKey cannot be null

Expected behavior

I want to be able to add new accounts.

Failure Logs

An error occurred when trying to create account: notNull Violation: accounts.accountPlaylistsId cannot be null, notNull Violation: accounts.userProfileIdKey cannot be null

Context

Hi @Rui_Sasaki and welcome to our community !

The agents in V8 are not supported anymore (you can see the releases support here).
I invite you to migrate it first in order to be able to help you correctly.
Here is the documentation page to migrate to V9. Please, pay attention to the breaking changes.

For your information: Your forest package is forest-express-sequelize. And so your agent should be in NodeJS.

Best regards,

Shohan

Hi,
I have been trying to upgrade the version and I couldnt do it.
First of all, I dont know the correct repository or the place where I should go to adjust the version of forest admin.
I found one repo with informations and code related to the forest admin, but it says:
“forest-express”: “^7.4.0”,
“forest-express-sequelize”: “^6.0.0”,
“morgan”: “1.9.1”,
“pg”: “~8.2.2”,
“require-all”: “^3.0.0”,
“sequelize”: “~5.15.1”
And from my understanding, my forest admin is v8.0.7, which is not thev6.0.0 as the code says.
So I think this is the wrong repo…
Is there any way to see where is the codebase of my forestadmin? From my understanding, i need to clone the codebase in docker and modify there…

Also i read in the documentation that I need to make sure im using roles v2. my roles section looks like this image:


Is this mean im using Roles v2.0 right?
I am really new for this.I would very gratefull if you could please help me with more detales.

 notNull Violation: accounts.userProfileIdKey cannot be null

This error means that your field userProfileIdKey cannot be null. They are declared as mandatory to create a new account. Please, fill all the fields that are declared as non-nullable in the creation process.
Let me know if that first solution resolve these errors.

Best regards,

Shohan

hi,
I cant find the fields accounts.accountPlaylistsId and accounts.userProfileIdKey which you said there shouldnt be null.
Where should those field be? or To find them should I do something else?

Do you create the Account record through a Smart Action or do you use the standard record creation ?