<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: BTP CLI unable to create environment instance for clo... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785879#M4840344</link>
    <description>&lt;P&gt;Hi Iji,&lt;/P&gt;&lt;P&gt;it just worked for me with single quotes but if you experience the same issue as an alternative option&amp;nbsp;I would suggest you to try to provide the data via file like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;btp create accounts/environment-instance --subaccount my-syb-acc --display-name my-environment --environment cloudfoundry --landscape cf-eu10 --service cloudfoundry --plan standard --parameters &amp;lt;file-path&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the content of the file is then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;{
  "instance_name": "cf-test"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 11:32:37 GMT</pubDate>
    <dc:creator>Beyhan</dc:creator>
    <dc:date>2024-08-07T11:32:37Z</dc:date>
    <item>
      <title>BTP CLI unable to create environment instance for cloud foundry</title>
      <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaq-p/13783818</link>
      <description>&lt;P&gt;Hello colleagues,&lt;/P&gt;&lt;P&gt;I'm trying to create a Cloud Foundry instance using BTP CLI, but I am facing the error:&amp;nbsp;&lt;FONT color="#993366"&gt;&lt;EM&gt;Value '{' for parameter --parameters is neither of type json nor a valid filename.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Command that I executed, directly in the terminal, is:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;btp create accounts/environment-instance --subaccount my-syb-acc --display-name my-environment --environment cloudfoundry --landscape cf-eu10 --service cloudfoundry --plan standard --parameters "{"instance_name": "cf-test"}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with&amp;nbsp;&lt;FONT color="#993366"&gt;&lt;EM&gt;--parameters "{\"instance_name\": \"cf-test\"}"&amp;nbsp;&lt;/EM&gt;&lt;FONT color="#000000"&gt;, still it complains the same.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is the JSON format incorrect for the --parameters?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/12900"&gt;@Tristan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/800431"&gt;@afzaalmd926&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 07:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaq-p/13783818</guid>
      <dc:creator>iji</dc:creator>
      <dc:date>2024-08-06T07:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: BTP CLI unable to create environment instance for cloud foundry</title>
      <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785381#M4840271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;could you please try with single quotes like:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;btp create accounts/environment-instance --subaccount my-syb-acc --display-name my-environment --environment cloudfoundry --landscape cf-eu10 --service cloudfoundry --plan standard --parameters '{"instance_name": "cf-test"}'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 06:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785381#M4840271</guid>
      <dc:creator>Beyhan</dc:creator>
      <dc:date>2024-08-07T06:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: BTP CLI unable to create environment instance for cloud foundry</title>
      <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785659#M4840313</link>
      <description>Hi Beyhan,</description>
      <pubDate>Wed, 07 Aug 2024 09:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785659#M4840313</guid>
      <dc:creator>iji</dc:creator>
      <dc:date>2024-08-07T09:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: BTP CLI unable to create environment instance for cloud foundry</title>
      <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785664#M4840315</link>
      <description>Hi,,,, the same error occurs,,,, btp create accounts/environment-instance --subaccount &amp;lt;subaccount_id&amp;gt; --disonplay-name my-envirment --environment cloudfoundry --landscape cf-eu10 --service cloudfoundry --plan standard --parameters '{"instance_name": "cf-test"}' ==&amp;gt; Value ''{instance_name:' for parameter --parameters is neither of type json nor a valid filename Usage: btp [OPTIONS] create accounts/environment-instance --subaccount [ID] [--display-name NAME] [--parameters JSON] --environment TYPE [--landscape ID] --service NAME --plan NAME ERROR</description>
      <pubDate>Wed, 07 Aug 2024 09:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785664#M4840315</guid>
      <dc:creator>iji</dc:creator>
      <dc:date>2024-08-07T09:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: BTP CLI unable to create environment instance for clo...</title>
      <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785879#M4840344</link>
      <description>&lt;P&gt;Hi Iji,&lt;/P&gt;&lt;P&gt;it just worked for me with single quotes but if you experience the same issue as an alternative option&amp;nbsp;I would suggest you to try to provide the data via file like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;btp create accounts/environment-instance --subaccount my-syb-acc --display-name my-environment --environment cloudfoundry --landscape cf-eu10 --service cloudfoundry --plan standard --parameters &amp;lt;file-path&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the content of the file is then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;{
  "instance_name": "cf-test"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 11:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785879#M4840344</guid>
      <dc:creator>Beyhan</dc:creator>
      <dc:date>2024-08-07T11:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: BTP CLI unable to create environment instance for clo...</title>
      <link>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785882#M4840345</link>
      <description>Thank you a lot!</description>
      <pubDate>Wed, 07 Aug 2024 11:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/btp-cli-unable-to-create-environment-instance-for-cloud-foundry/qaa-p/13785882#M4840345</guid>
      <dc:creator>iji</dc:creator>
      <dc:date>2024-08-07T11:31:46Z</dc:date>
    </item>
  </channel>
</rss>

