Forge App storage

Hello,

I create a forge app for my repository to handle pull request events,
i want to set some environment variables but when i use storage it’s not working and i use command forge variables set and forge variables list i see my list of variables but i cannot get them in my app.

Can someone help us please.

Hi @MbayeHann ,

Make sure you run forge deploy after setting environment variables so they take effect.

I didn’t understand what you meant by:

i want to set some environment variables but when i use storage it’s not working

Can you provide more detail please.

Regards,
Dugald

Hello @dmorrow,

Thanks for your reply.

I wanted to set some settings in my storage but now is working.

Regards

I have an other issue

i use this module bitbucket:repoMainMenuPage but when i try to fetch current user like
const getCurrentUserInfo = async () => {
** try {**
** const user = await api.asApp().requestBitbucket(route/2.0/user);**
** console.log(DEBUG: ${user});**
** return user.body;**
** } catch (error) {**
** console.error(‘Error fetching user info:’, error);**
** return null;**
** }**
};
i get ERROR 21:44:00.580 0000000000000000ffd3ad2d99cf0a6b Error fetching user info: {
message: ‘URL not allowed: /2.0/user.’,
name: ‘REQUEST_EGRESS_ALLOWLIST_ERR’,
status: 403
}

can someone help please

Blockquotestrong text