I’m using the below M code in Power Query to download the list of Tickets from the ticket_tags
table where [tag] = “Merged Tickets”:
let
Source = OData.Feed("https://bridge-online.cloud/acme-freshdesk/odata4", null, [Implementation="2.0", ODataVersion=4, OmitValues=ODataOmitValues.Nulls, Headers=[Referer = "FreshDesk-Tickets-Incremental" ], Timeout=#duration(0,4,0,0)]),
#"Filtered Rows" = Table.SelectRows(Source, each ([Name] = "Freshdesk.Freshdesk.ticket_tags@fdk")),
#"Expanded Data" = Table.ExpandTableColumn(#"Filtered Rows", "Data", {"tag", "id"}, {"tag", "id"}),
#"Removed Other Columns" = Table.SelectColumns(#"Expanded Data",{"tag", "id"}),
#"Filtered Rows2" = Table.SelectRows(#"Removed Other Columns", each ([tag] = "Merged Tickets"))
in
#"Filtered Rows2"
Data starts loading, but after a few minutes unfortunately I’m getting the following error:
Failed to save modifications to the server.
Error returned: 'OLE DB or ODBC error:
[DataSource.Error] OData: Invalid JSON.
A comma character ‘,’ was expected in scope ‘Array’.
Every two elements in an array and properties of an object must be separated by commas.
Can you please assist?