Hello,
We got an error when calling Analytics API
{ "statusCode": 500, "message": "Internal server error", "activityId": "f164a19e-b8bc-414e-9e4c-53141d7cd372" }
Can you make this API available once again?
Hello Charles,
We have reported the issue and we will provide an update as soon as possible.
Best regards,
Radu
Some details to help resolving this issue:
We are calling this URL
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67407332&instrumentId=67837428
And it fails after 20sec
We also tried with this URL but get the same behavior:
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67407332,67837428
Hello Charles,
We have tested the API and it is working for us. There is a problem with the provided Postman variables, but by replacing the { {instrumentId}} variable with the 67407332 value, the response is 200 OK and with a valid body.
In your previous response, the first URL contains "instrumentId=67837428" twice and the second URL contains two values for the instrumentId which is invalid.
Could you please let us know if the following URL is working for you?
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67407332
Once the Postman collection variables issue has been fixed, I will provide an update.
Best regards,
Radu
Hello Radu,
Thanks for your answer
I tried provided URL
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67407332
and I get a response OK with status 200
I tried similar request on multiple instruments (mandatory on or project):
1.
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67407332,67837428
This first request still return an error 500
{ "message": "<exchangeTradedFund xmlns='http://www.sophis.net/fund'> was not expected.", "type": "about:blank", "title": "<exchangeTradedFund xmlns='http://www.sophis.net/fund'> was not expected.", "status": 500 }
2.
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67110367,68054441
This second request return a response OK with status 200
{ "items": [ { "instrumentId": "67110367", "marketValue": { "currency": "EUR", "amount": 18.7725 }, "fixedIncome": { "yield": 0.0, "dv01": { "currency": "EUR", "amount": 0.0 } }, "deltaSensitivities": [ { "riskSourceId": "67110367", "riskSourceName": "AXA SA", "delta": { "currency": "EUR", "amount": 1.0 }, "deltaCash": { "currency": "EUR", "amount": 18.7725 } } ], "rhoSensitivities": [] }, { "instrumentId": "68054441", "marketValue": { "currency": "EUR", "amount": 46117.600000000006 }, "fixedIncome": { "yield": 0.099365642, "dv01": { "currency": "EUR", "amount": -352.36676200000005 } }, "deltaSensitivities": [], "rhoSensitivities": [ { "currency": "EUR", "rho": { "currency": "EUR", "amount": -352.36676200000005 } } ] } ] }
We tried to request on the second instrument only and we get the same error 500 response
https://api.fusionfabric.cloud/investment-management/analytics/v1/analytics-reports/latest?instrumentId=67837428
Maybe the case when some instrument cannot be found in analytics API isn't properly handled?
Hello Charles,
Thank you for the provided information, we have reported this problem and we will update you as soon as it has been fixed.
Best regards,
Radu
4 People are following this question.