User ID can't be found

Hello there,

So I am using the same user ID for both codes:

const account = new Account({ token: env_vars.account_token });

const user_info = await account.run.userInfo(“user_id”);

const notif = await account.run.notificationList(“user_id”);

The user_info works as intended but the notif variable outputs: User ID can’t be found
Am I missing something here?

Thanks!
Daniel

It seems an issue with the core API for retrieving user notification list.

An ticket issue was opened for that. Should be fixed soon.

Hi Vitor,

Has the API been fixed? This time I am getting blank output on the variable notif.

Thanks!
Daniel

Hi Daniel,
Yes, this was fixed 2 weeks ago.

I just tested and it’s working as expected, I’m receiving an array with all the notifications for a given run user.