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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...