Unable to add an environment variable in cloudflare worker

For Workers & Pages, what is the name of the domain?

wandery.ai

What is the error number?

403

What is the error message?

API Request Failed: POST /api/v4/accounts/bc2043c616d427139c181d21fc6274c7/workers/scripts/wandery-ai-backend/versions (403)

What is the issue or error you’re encountering

I am not able to add an environment variable to my cloudflare workers settings

What steps have you taken to resolve the issue?

I have tried logging in and out. Tried to add the env var via wrangler.toml and wrangler deploy but this does not work

What are the steps to reproduce the issue?

workers&pages → settings → +add(variables&secrets) → add and deploy secret.
error message:
API Request Failed: POST /api/v4/accounts/bc2043c616d427139c181d21fc6274c7/workers/scripts/wandery-ai-backend/versions (403)