AWS M11 - Well Delivery Permission issue creating well entity
When I try to run the UC1 - entity_create well request from the https://community.opengroup.org/osdu/platform/pre-shipping/-/blob/main/R3-M11/AWS-M11/DDMS%20Well%20Delivery/WellDeliveryOSDU.postman_collection.json collection, I get a 500 error with the message "The user is not authorized to perform this action"
Request:
curl --location --request PUT 'https://r3m11.preshiptesting.osdu.aws/api/well-delivery/storage/v1/well' \
--header 'data-partition-id: osdu' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ...' \
--data-raw '{
"id": "please enter your datapartition ID:master-data--Well:welldemo2",
"kind": "osdu:wks:master-data--Well:1.0.0",
"acl": {
"owners": [
"acl owners eg. someone@company.com"
],
"viewers": [
"acl viewers eg. someone@company.com"
]
},
"legal": {
"legaltags": [
"Legal tags . eg. Example legaltags"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"tags": {
"NameOfKey": "String value"
},
"createTime": "2020-12-16T11:46:20.163Z",
"createUser": "some-user@some-company-cloud.com",
"modifyTime": "2020-12-16T11:52:24.477Z",
"modifyUser": "some-user@some-company-cloud.com",
"ancestry": {
"parents": []
},
"meta": [
{
"kind": "Unit",
"name": "m",
"persistableReference": "{\"abcd\":{\"a\":0.0,\"b\":1.0,\"c\":1.0,\"d\":0.0},\"symbol\":\"m\",\"baseMeasurement\":{\"ancestry\":\"L\",\"type\":\"UM\"},\"type\":\"UAD\"}",
"unitOfMeasureID": "namespace:reference-data--UnitOfMeasure:m:",
"propertyNames": [
"FacilitySpecifications[0].FacilitySpecificationQuantity",
"VerticalMeasurements[0].VerticalMeasurement"
]
}
],
"data": {
"ResourceHomeRegionID": "namespace:reference-data--OSDURegion:AWSEastUSA:",
"ResourceHostRegionIDs": [
"namespace:reference-data--OSDURegion:AWSEastUSA:"
],
"ResourceCurationStatus": "namespace:reference-data--ResourceCurationStatus:CREATED:",
"ResourceLifecycleStatus": "namespace:reference-data--ResourceLifecycleStatus:LOADING:",
"ResourceSecurityClassification": "namespace:reference-data--ResourceSecurityClassification:RESTRICTED:",
"Source": "Example Data Source",
"ExistenceKind": "namespace:reference-data--ExistenceKind:planned:",
"NameAliases": [
{
"AliasName": "Example AliasName",
"AliasNameTypeID": "namespace:reference-data--AliasNameType:RegulatoryIdentifier:",
"DefinitionOrganisationID": "namespace:master-data--Organisation:SomeUniqueOrganisationID:",
"EffectiveDateTime": "2020-02-13T09:13:15.55Z",
"TerminationDateTime": "2020-02-13T09:13:15.55Z"
}
],
"GeoContexts": [
{
"BasinID": "namespace:master-data--Basin:SomeUniqueBasinID:",
"GeoTypeID": "namespace:reference-data--BasinType:ArcWrenchOceanContinent:"
}
],
"SpatialLocation": {
"SpatialLocationCoordinatesDate": "2020-02-13T09:13:15.55Z",
"QuantitativeAccuracyBandID": "namespace:reference-data--QuantitativeAccuracyBand:Length.LessThan1m:",
"QualitativeSpatialAccuracyTypeID": "namespace:reference-data--QualitativeSpatialAccuracyType:Confirmed:",
"CoordinateQualityCheckPerformedBy": "Example CoordinateQualityCheckPerformedBy",
"CoordinateQualityCheckDateTime": "2020-02-13T09:13:15.55Z",
"CoordinateQualityCheckRemarks": [
"Example CoordinateQualityCheckRemarks"
],
"AsIngestedCoordinates": {
"type": "AnyCrsFeatureCollection",
"CoordinateReferenceSystemID": "namespace:reference-data--CoordinateReferenceSystem:BoundCRS.SLB.32021.15851:",
"VerticalCoordinateReferenceSystemID": "namespace:reference-data--CoordinateReferenceSystem:VerticalCRS.EPSG.5773:",
"persistableReferenceCrs": "{\"lateBoundCRS\":{\"wkt\":\"PROJCS[\\\"NAD_1927_StatePlane_North_Dakota_South_FIPS_3302\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],PROJECTION[\\\"Lambert_Conformal_Conic\\\"],PARAMETER[\\\"False_Easting\\\",2000000.0],PARAMETER[\\\"False_Northing\\\",0.0],PARAMETER[\\\"Central_Meridian\\\",-100.5],PARAMETER[\\\"Standard_Parallel_1\\\",46.1833333333333],PARAMETER[\\\"Standard_Parallel_2\\\",47.4833333333333],PARAMETER[\\\"Latitude_Of_Origin\\\",45.6666666666667],UNIT[\\\"Foot_US\\\",0.304800609601219],AUTHORITY[\\\"EPSG\\\",32021]]\",\"ver\":\"PE_10_3_1\",\"name\":\"NAD_1927_StatePlane_North_Dakota_South_FIPS_3302\",\"authCode\":{\"auth\":\"EPSG\",\"code\":\"32021\"},\"type\":\"LBC\"},\"singleCT\":{\"wkt\":\"GEOGTRAN[\\\"NAD_1927_To_WGS_1984_79_CONUS\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],GEOGCS[\\\"GCS_WGS_1984\\\",DATUM[\\\"D_WGS_1984\\\",SPHEROID[\\\"WGS_1984\\\",6378137.0,298.257223563]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],METHOD[\\\"NADCON\\\"],PARAMETER[\\\"Dataset_conus\\\",0.0],AUTHORITY[\\\"EPSG\\\",15851]]\",\"ver\":\"PE_10_3_1\",\"name\":\"NAD_1927_To_WGS_1984_79_CONUS\",\"authCode\":{\"auth\":\"EPSG\",\"code\":\"15851\"},\"type\":\"ST\"},\"ver\":\"PE_10_3_1\",\"name\":\"NAD27 * OGP-Usa Conus / North Dakota South [32021,15851]\",\"authCode\":{\"auth\":\"SLB\",\"code\":\"32021079\"},\"type\":\"EBC\"}",
"persistableReferenceVerticalCrs": "{\"authCode\":{\"auth\":\"EPSG\",\"code\":\"5773\"},\"type\":\"LBC\",\"ver\":\"PE_10_3_1\",\"name\":\"EGM96_Geoid\",\"wkt\":\"VERTCS[\\\"EGM96_Geoid\\\",VDATUM[\\\"EGM96_Geoid\\\"],PARAMETER[\\\"Vertical_Shift\\\",0.0],PARAMETER[\\\"Direction\\\",1.0],UNIT[\\\"Meter\\\",1.0],AUTHORITY[\\\"EPSG\\\",5773]]\"}",
"persistableReferenceUnitZ": "{\"scaleOffset\":{\"scale\":1.0,\"offset\":0.0},\"symbol\":\"m\",\"baseMeasurement\":{\"ancestry\":\"Length\",\"type\":\"UM\"},\"type\":\"USO\"}",
"features": [
{
"type": "AnyCrsFeature",
"properties": {},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
12345.6,
12345.6
],
"bbox": [
12345.6,
12345.6,
12345.6,
12345.6
]
},
"bbox": [
12345.6,
12345.6,
12345.6,
12345.6
]
}
],
"bbox": [
12345.6,
12345.6,
12345.6,
12345.6
]
},
"Wgs84Coordinates": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Point",
"coordinates": [
12345.6,
12345.6
],
"bbox": [
12345.6,
12345.6,
12345.6,
12345.6
]
},
"bbox": [
12345.6,
12345.6,
12345.6,
12345.6
]
}
],
"bbox": [
12345.6,
12345.6,
12345.6,
12345.6
]
},
"AppliedOperations": [
"conversion from ED_1950_UTM_Zone_31N to GCS_European_1950; 1 points converted",
"transformation GCS_European_1950 to GCS_WGS_1984 using ED_1950_To_WGS_1984_24; 1 points successfully transformed"
],
"SpatialParameterTypeID": "namespace:reference-data--SpatialParameterType:Outline:",
"SpatialGeometryTypeID": "namespace:reference-data--SpatialGeometryType:Point:"
},
"VersionCreationReason": "Example VersionCreationReason",
"FacilityID": "Example External Facility Identifier",
"FacilityTypeID": "namespace:reference-data--FacilityType:Well:",
"FacilityOperators": [
{
"FacilityOperatorID": "Example Facility Operator ID",
"FacilityOperatorOrganisationID": "namespace:master-data--Organisation:SomeUniqueOrganisationID:",
"EffectiveDateTime": "2020-02-13T09:13:15.55Z",
"TerminationDateTime": "2020-02-13T09:13:15.55Z"
}
],
"InitialOperatorID": "namespace:master-data--Organisation:SomeUniqueOrganisationID:",
"CurrentOperatorID": "namespace:master-data--Organisation:SomeUniqueOrganisationID:",
"DataSourceOrganisationID": "namespace:master-data--Organisation:SomeUniqueOrganisationID:",
"OperatingEnvironmentID": "namespace:reference-data--OperatingEnvironment:Onshore:",
"FacilityName": "welldemo2",
"FacilityStates": [
{
"EffectiveDateTime": "2020-02-13T09:13:15.55Z",
"TerminationDateTime": "2020-02-13T09:13:15.55Z",
"FacilityStateTypeID": "namespace:reference-data--FacilityStateType:Planning:"
}
],
"FacilityEvents": [
{
"FacilityEventTypeID": "namespace:reference-data--FacilityEventType:Abandon:",
"EffectiveDateTime": "2020-02-13T09:13:15.55Z",
"TerminationDateTime": "2020-02-13T09:13:15.55Z"
}
],
"FacilitySpecifications": [
{
"EffectiveDateTime": "2020-02-13T09:13:15.55Z",
"TerminationDateTime": "2020-02-13T09:13:15.55Z",
"FacilitySpecificationQuantity": 12345.6,
"FacilitySpecificationDateTime": "2020-02-13T09:13:15.55Z",
"FacilitySpecificationIndicator": true,
"FacilitySpecificationText": "Example FacilitySpecificationText",
"UnitOfMeasureID": "namespace:reference-data--UnitOfMeasure:m:",
"ParameterTypeID": "namespace:reference-data--ParameterType:SlotName:"
}
],
"DefaultVerticalMeasurementID": "Example DefaultVerticalMeasurementID",
"DefaultVerticalCRSID": "namespace:reference-data--CoordinateReferenceSystem:BoundCRS::OSDU::23031001:",
"VerticalMeasurements": [
{
"VerticalMeasurementID": "Example VerticalMeasurementID",
"EffectiveDateTime": "2020-02-13T09:13:15.55Z",
"VerticalMeasurement": 12345.6,
"TerminationDateTime": "2020-02-13T09:13:15.55Z",
"VerticalMeasurementTypeID": "namespace:reference-data--VerticalMeasurementType:PBD:",
"VerticalMeasurementPathID": "namespace:reference-data--VerticalMeasurementPath:MD:",
"VerticalMeasurementSourceID": "namespace:reference-data--VerticalMeasurementSource:DRL:",
"WellboreTVDTrajectoryID": "namespace:work-product-component--WellboreTrajectory:WellboreTrajectory-911bb71f-06ab-4deb-8e68-b8c9229dc76b:",
"VerticalMeasurementUnitOfMeasureID": "namespace:reference-data--UnitOfMeasure:m:",
"VerticalCRSID": "namespace:reference-data--CoordinateReferenceSystem:BoundCRS::OSDU::23031001:",
"VerticalReferenceID": "Example VerticalReferenceID",
"VerticalMeasurementDescription": "Example VerticalMeasurementDescription"
}
],
"InterestTypeID": "namespace:reference-data--WellInterestType:Operated:",
"ExtensionProperties": {}
}
}'
Response:
{
"message": "The user is not authorized to perform this action"
}