AZURE M12: Wellbore DDMS - 500 error when creating wellbore
For the wellbore ddms testing i used the following postman files:
I had to add the following variable to the environment:
WELLBORE_DDMS_HOST=osdu-ship.msft-osdu-test.org/api/os-wellbore-ddms
authority=osdu
schemaSource=wks
I get a 500 error when trying to create a well using wellbore ddms.
Request:
curl --location --request POST 'https://osdu-ship.msft-osdu-test.org/api/os-wellbore-ddms/ddms/v3/wells' \
--header 'data-partition-id: opendes' \
--header 'Authorization: Bearer ...' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"acl": {
"viewers": [
"data.default.viewers@opendes.contoso.com"
],
"owners": [
"data.default.owners@opendes.contoso.com"
]
},
"data": {
"FacilityName": "Faciliity_AutoTest_999482668551",
"ExtensionProperties": {
"UWI": "20-000-00000-00"
}
},
"id": "opendes:master-data--Well:AutoTest_999482668551",
"kind": "osdu:wks:master-data--Well:1.0.0",
"legal": {
"legaltags": [
"opendes-Wellbore-Legal-Tag-Test999482668551"
],
"otherRelevantDataCountries": [
"FR",
"US"
],
"status": "compliant"
}
}
]'
Response:
{
"origin": "osdu-data-ecosystem-storage",
"errors": [
"[Errno -5] No address associated with hostname"
]
}