Hi I am integrating to react, facing network error...
# gooddata-platform
p
Hi I am integrating to react, facing network error while rending areachart, also allowedorgin
v
Try making this api call from your dev machine one time, right after installing the good data system: https://www.gooddata.com/developers/cloud-native/doc/1.1/api/api_reference_all/#/entities/updateEntity%40Organizations
Here is the payload I use:
Copy code
{
  "data": {
    "attributes": {
      "name": "Default Organization",
      "hostname": "localhost",
      "allowedOrigins": [
        "<http://localhost:4200>",
        "<http://localhost:3000>"
      ]
    },
    "id": "default",
    "type": "organization"
  }
}
See how I added
<http://localhost:4200>
to allowed origins...so that my dev web instance could call the good data back end?
p
I dont' have org login, I have only gooddata account. how do I get here org id
v
I think GoodData.CN comes with an org with an id of
default
Many things like that you need to get from the command line using the API: https://www.gooddata.com/developers/cloud-native/doc/1.7/api/api_reference_all/#/entities/getOrganization