watson-discovery

How overcome error 400 in Watson Discovery Upload Data


I am new to IBM cloud. I deleted my Watson Discovery service by mistake. Afterwards, I re-created a new service and there was no issue. But when I try to upload data to Watson Discovery, I'm given error 400 "Only one free environment is allowed per resource group". I'm on the Lite plan.

Any help?


Solution

  • login into your ibm cloud account and go to https://cloud.ibm.com/shell and run the following commands

    ibmcloud resource reclamations
    

    the above command list all resource reclamations under your account. to know which resource to delete check the Entity CRN and copy it's ID then use below command to delete the resource

    ibmcloud resource reclamation-delete [ID]  --force
    

    Replace the ID with resource id to delete.