In Maximo APM V8.8.0 Lab, I get a BMXAA3901E error on "Update the Site ID and the Org ID" in step 4 of "Run the Notebook" in "Load Utilities Data into Manage". Do you know the solution?
The error message is as follows.
!python3 $DATA_LOADER_PATH/0_createOrgAndSite.py $ORGID $SITEID | tee log.txt
!if grep -q "'status': '400'" log.txt; then exit 1; fi
error api request:
url=https://masdev.manage.inst1.itzroks-110000xxxx-xxxstq-xxxx324f027aea19c5cbc0c3275cxxxx-0000.jp-tok.containers.appdomain.cloud/maximo/api/os/mxapiorganization?lean=1&lean=1, method=post, status_code=400, response_text={"Error":{"errorattrname":"addresscode","extendedError":{"moreInfo":{"href":"http:\/\/localhost\/maximo\/api\/error\/messages\/BMXAA3901E"}},"errorobjpath":"organization\/site\/billtoshipto","correlationid":"1","errattrvalue":null,"reasonCode":"BMXAA3901E","message":"BMXAA3901E - \u4f4f\u6240\u30b3\u30fc\u30c9\u304c\u7121\u52b9\u3067\u3059\u3002","statusCode":"400"}}
Traceback (most recent call last):
File "/tmp/hpu/dataloader/0_createOrgAndSite.py", line 148, in <module>
create_siteid(orgid,siteid)
File "/tmp/hpu/dataloader/0_createOrgAndSite.py", line 131, in create_siteid
if resp.status_code in [200,201,204]:
AttributeError: 'NoneType' object has no attribute 'status_code'