Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Make the Get Refresh Execution Details API response easier to debug

Right now if there is any error during the enhanced refresh, refresh execution details api will return messages containing "code" field. It would be useful if this "code" actually means something. It will simplify the debugging process for API callers.


An example of the API response:

{     "startTime": "2023-06-05T18:55:22.63",     "endTime": "2023-06-05T18:55:33.95",     "type": "Full",     "commitMode": "Transactional",     "status": "Failed",     "extendedStatus": "Failed",     "currentRefreshType": "Full",     "numberOfAttempts": 1,     "objects": [         {             "table": "DateTableTemplate_b285c162-7385-444a-9d14-0c863579f369",             "partition": "DateTableTemplate_b285c162-7385-444a-9d14-0c863579f369-164b95f7-1537-4d7b-bb30-0fde10843fbb",             "status": "Failed"         },         {             "table": "Query1",             "partition": "Query1-a0cbd646-a7e4-431e-a114-0c89382cbe49",             "status": "Failed"         }     ],     "messages": [         {             "message": "Retry attempts for failures while executing the refresh exceeded the retry limit set on the request.",             "type": "Warning"         },         {             "code": "0xC112001C",             "message": "...",             "type": "Error",             "location": {                 "StartLine": 0,                 "StartColumn": 0,                 "EndLine": 0,                 "EndColumn": 0,                 "LineOffset": 0,                 "TextLength": 0,                 "RowNumber": -1,                 "SourceObject": {                     "Table": "Query1",                     "Partition": "Query1-a0cbd646-a7e4-431e-a114-0c89382cbe49",                     "Column": null,                     "Measure": null,                     "Role": null                 }             }         }     ] } 


Expected: "code": "0xC112001C" actually means something. For example, "EXTERNAL_DATASOURCE_ERROR"


Actual: cannot find any documentation on "code" field.


Thanks!


Status: New
Comments
fbcideas_migusr
New Member
Status changed to: New