Getting Data In

CSAM Reports - 500 ERROR

_joe
Contributor

Hello all,

I am wondering if anyone has run into an issue where they receive a "500 error" on some large reports (small reports work fine)? The only feedback I got from the cSAM admin was to add a time out value in Microsoft PowerQuery, doesn't quite seem to relate to CURL though.

 

 

    personal_access_token = "MyRealToken",
    request_timeout_in_minutes = 10, // Specify your timeout value here
    data = Table.FromRecords(
        Json.Document(
            Web.Contents(
                csam_api_endpoint_url,
                    [
                        Headers = 
                        [
                            #"Authorization"="Bearer " & personal_access_token,
                            #"Content-Type" = "application/json"
                        ],
                        Timeout = #duration(0, 0, request_timeout_in_minutes, 0)
                    ]
                )
            )
        )
in
    data

 

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...