Got it

How to Solve FusionSolar API getStationRealKpi throw HTTP 500 Error?

Latest reply: Jun 12, 2021 11:49:47 767 3 0 0 0

I am using FusionSolar API and get error when trying to access
https://sg5.fusionsolar.huawei.com/thirdData/getStationRealKpi


What should I do to solve this error?

APIhttps://sg5.fusionsolar.huawei.com/thirdData/getStationRealKpi
Request Method: POST
Request Body / Parameter:

{

    "stationCodes": "XXXXXX"

}

HTTP Response Code: 500 Internal Server Error

Response Body:

{

  "exceptionId": "framwork.remote.SystemError",

  "exceptionType": "ROA_EXFRAME_EXCEPTION",

  "descArgs": null,

  "reasonArgs": null,

  "detailArgs": null,

  "adviceArgs": null

}

getStationRealKpi


Additional Information:

I followed the guide on

https://forum.huawei.com/enterprise/en/communicate-with-fusionsolar-through-an-openapi-account/thread/591478-100027?page=4


It works last month but I start to get this error when trying to access the API few days ago.

I can access other API without problem except the getStationRealKPI:

1. I can Log in Successfully
API: https://sg5.fusionsolar.huawei.com/thirdData/login
Request MethodPOST
Request Body / Parameter:

{

"userName": "XXXXXX",

"systemCode": "XXXXXX"

}

Response Body:

{

  "data": null,

  "success": true,

  "failCode": 0,

  "params": {},

  "message": null

}


LoginSuccess


2. I Can Get Station list Successfully
API:https://sg5.fusionsolar.huawei.com/thirdData/getStationList
Request Method: POST
Request Body / Parameter
:

{

}

Response Body:

{

  "data": [

    {

      "aidType": XXXXX,

      "buildState": XXXXX,

      "capacity": XXXXX,

      "combineType": XXXXX,

      "linkmanPho": XXXXX,

      "stationAddr": "XXXXX",

      "stationCode": "XXXXX",

      "stationLinkman": "XXXXXX",

      "stationName": "XXXXX"

    }

  ],

  "failCode": 0,

  "message": null,

  "params": {

    "currentTime": XXXXX

  },

  "success": true

}

GetStationList


3. I can Get KPI Station Year Successfully

APIhttps://sg5.fusionsolar.huawei.com/thirdData/getKpiStationYear

Request MethodPOST
Request Body / Parameter
:

{

"stationCodes": "XXXXXX",

"collectTime": XXXXX

}

Response Body:

{

  "data": [

    {

      "collectTime": XXXX,

      "stationCode": "XXXXXX",

      "dataItemMap": {

        "radiation_intensity": XXXXXX,

        "installed_capacity": XXXXXX,

        "use_power": XXXXXX,

        "inverter_power": XXXXXX,

        "reduction_total_tree": XXXXXX,

        "power_profit": XXXXXX,

        "theory_power": XXXXXX,

        "reduction_total_coal": XXXXXX,

        "perpower_ratio": XXXXXX,

        "reduction_total_co2": XXXXXX,

        "ongrid_power": XXXXXX,

        "performance_ratio": XXXXXX

      }

    }

  ],

  "failCode": 0,

  "message": null,

  "params": {

    "currentTime": XXXXXX,

    "collectTime": XXXXXX,

    "stationCodes": "XXXXXX"

  },

  "success": true

}

GetKpiStationYear


I Just get error for getStationRealKPI and not in other API.


Any solution for this problem?


sent your inverter's SN to Email: eu_inverter_support@huawei.com, tell them what happened to you and need help
View more
  • x
  • convention:

CallMeTom
CallMeTom Created Jun 10, 2021 01:40:07 (0) (0)
Thank you for the advice and information...  
Hi Tom,

Do you manage to resolve this issues?
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.