Subproject creation Bad Request
GCP preshipping environment.
Tenant was created:
{ "name": "autotesttenantid436502", "esd": "odesprod.osdu-gcp.go3-nrg.projects.epam.com", "gcpid": "osdu-data-prod", "default_acls": "users.datalake.admins@odesprod.osdu-gcp.go3-nrg.projects.epam.com" }
Trying to create subproject.
Request:
curl --location --request POST 'https://preship.gcp.gnrg-osdu.projects.epam.com/api/seismic-store/v3/subproject/tenant/autotesttenantid436502/subproject/subprojectodi725168' \ --header 'Content-Type: application/json' \ --header 'data-partition-id: odesprod' \ --header 'ltag: odesprod-SeismicDMS-Legal-Tag-Test7116874' \ --header 'Authorization: Bearer ID_TOCKEN' \ --data-raw '{ "admin": "admin@odesprod.osdu-gcp.go3-nrg.projects.epam.com", "storage_class": "MULTI_REGIONAL", "storage_location": "US", "legal": { "legaltags": [ "odesprod-SeismicDMS-Legal-Tag-Test7116874" ], "otherRelevantDataCountries": [ "US" ] } }'
Response:
[seismic-store-service] Bad Request
Seismic-store logs:
2022-10-21 15:40:40.798 EET{"error":{"code":400,"message":"[seismic-store-service] Bad Request","status":"BAD_REQUEST"}}