I have created Salesforce functions and run it locally . I am trying to create comput environment to deploy my function .But i am getting the below error.

Creating compute environment for org ID xxxxxxxxxxxxx... error!
 »   Error: Couldn't find that app.
 »   Error ID: not_found

I have used sfdx:force:org list to find the alias name

sfdx force:org:list

=== Orgs ALIAS USERNAME ORG ID CONNECTED STATUS ─── ─────────────── ───────────────────────────────── ────────────────── ──────────────── (X) functionsdemoSO [email protected] xxxx Connected

Then i have tried the below command in the target folder

sf login functions
sf env create compute -o functionsdemoSO -a functiondx

But I am getting the error

1 Answer 1


Hello @sfdcudhay, make sure you have enabled the Production/Test Space under Setup > Functions in your org.

Enable Production Space

  • getting "NoUsernameFoundError: No username found."
    – compski
    Mar 23, 2023 at 6:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .