We have refresh token for our environment, which we added to Lambda function in AWS.
In Brief, our environment setup is as follows....
At North Virginia (NV):
NVDAPPNAC01:
ID:VsaWorkingEnvironment-vsMHkcei
Cluster Management IP:192.168.0.100
Serial Number_1:90920140000001164776
Serial Number_2:90920140000001164777
Client ID: a1qsdfI7BOiE4UqoTbtXqUNNZmus9iaB
At Oregon (OR):
ORDAPPNAC01:
ID:VsaWorkingEnvironment-TRpk9Eg9
Cluster Management IP: 10.100.194.82
Serial Number: 90920130000001116143
Client ID: J8vNOQYsxQNhTKPnsCbAUm0g2ejf8qHL
When we run the API call from AWS we are getting the request JWT ID with, but getting the following error...
"X-Agent-Id"=>"J8vNOQYsxQNhTKPnsCbAUm0g2ejf8qHLclients"} @ssl=#<Faraday::SSLOptions verify=true> @response=#<Faraday::Response:0x000000001f39bc90 ...> @response_headers={"date"=>"Wed, 16 Apr 2025 23:16:15 GMT", "content-type"=>"application/json; charset=utf-8", "content-length"=>"205", "connection"=>"keep-alive", "x-powered-by"=>"Express", "access-control-allow-origin"=>"*", "access-control-expose-headers"=>"Authorization,X-Original-Content-Type,Content-Disposition,X-Response-Id,X-Occm-Async-Request-Id,x-occm-async-request-id,x-response-Id,x-netapp-trace-id,x-netapp-message-id", "x-netapp-message-id"=>"90e50b9b-5da3-4487-9f1c-000832fbc7ce", "strict-transport-security"=>"max-age=86400; includeSubDomains", "x-xss-protection"=>"1; mode=block", "x-content-type-options"=>"nosniff", "cache-control"=>"no-cache", "x-frame-options"=>"SAMEORIGIN", "x-netapp-timecheck"=>"undefined message-queue=174", "etag"=>"W/\"cd-Z5hT0tEZzOguy9cd+NpbDpzE9jM\"", "x-netapp-trace-id"=>"b44cd686e44fa81c9d995f9bfd4bf309", "x-azure-ref"=>"20250416T231614Z-16b479cd887nbhtghC1CO1be0n000000080g000000001dm3", "x-cache"=>"CONFIG_NOCACHE"} @status=404 @reason_phrase="Not Found" @response_body="{\"message\":\"Could not find working environment with id VsaWorkingEnvironment-TRpk9Eg9\",\"causeMessage\":\"ResourceNotFoundException: Could not find working environment with id VsaWorkingEnvironment-TRpk9Eg9\"}">>
ERROR: Unable to get replication status of KB10HAFS_NV in VsaWorkingEnvironment-TRpk9Eg9: no implicit conversion of String into Integer
["/var/task/lambda_function.rb:346:in `[]'", "/var/task/lambda_function.rb:346:in `block in netapp_get_replication_status'", "/var/task/lambda_function.rb:345:in `each'", "/var/task/lambda_function.rb:345:in `netapp_get_replication_status'", "/var/task/lambda_function.rb:620:in `netapp_process_event'", "/var/task/lambda_function.rb:955:in `lambda_handler'", "/var/runtime/lib/lambda_handler.rb:26:in `call_handler'", "/var/runtime/lib/runtime.rb:99:in `<main>'"]
DEBUG: Replication status:
DEBUG:
DEBUG: Netapp status JSON: {"statusCode":200,"body":"Netapp probed data retrieved"}
{"statusCode":200,"netapp":{"statusCode":200,"body":"Netapp probed data retrieved"}}
END RequestId: a7155bb7-02fb-4f51-b42b-b28ffc8c5f39
What makes this to failed with 404 error when try to communicate to working environment "VsaWorkingEnvironment-TRpk9Eg9" at Oregon
When I logon to the BlueXP UI I can see cluster is healthy.
Any help will be appreciated.
Thank you,
-Sam