1.4 DATA WAREHOUSE API LIMITATION | Community
Skip to main content
raviprasadp7863
Level 2
August 29, 2019
Solved

1.4 DATA WAREHOUSE API LIMITATION

  • August 29, 2019
  • 14 replies
  • 16205 views

I was trying 1.4 Data warehouse API,@ was able to get the response too, but encountered one limitation like below:

"error_description": "The maximum number of elements supported is 4"

if I give more than 4 elements, its throwing error, is there any way to add more elements?

"elements":[

                                     {

                                           "id" : "zip"

                                    },

                                    {

                                           "id" : "evar8"

                                    },

                                     {

                                           "id" : "evar6"

                                    },

                                     {

                                           "id" : "evar77"

                                    },

                                    {

                                           "id" : "evar37"

                                    }

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hyder_Ziaee

For data warehouse, you need to specify source as warehouse.

Try this code:

{

     "reportDescription":{

          "reportSuiteID":"<INSERT-RSID-HERE>",

          "dateFrom":"2019-08-10",

          "dateTo":"2019-08-11",

          "dateGranularity":"day",

          "source":"warehouse",

          "metrics":[

               {"id":"event10"}

          ],

          "elements":[

               {"id" : "zip"},

               {"id" : "evar8"},

               {"id" : "evar6"},

               {"id" : "evar77"},

               {"id" : "evar37"}

          ]

     }

}

14 replies

Balaji_V
Level 4
August 30, 2019
Hyder_Ziaee
Adobe Employee
Adobe Employee
August 30, 2019

What is the complete API request? Can you blank out the RSID and share?

raviprasadp7863
Level 2
August 30, 2019

{

                "reportDescription":{

                                "reportSuiteID":"",

                                "dateFrom":"2019-08-10",

                                "dateTo":"2019-08-11",

                                "dateGranularity":"day",

                               

                                "metrics":[

                                                {

                                                                "id":"event10"

                                                }

                                ],

                                    "elements":[

                                     {

                                           "id" : ""

                                    },

                                    {

                                           "id" : ""

                                    },

                                     {

                                           "id" : ""

                                    },

                                     {

                                           "id" : ""

                                    },

                                    {

                                           "id" : ""

                                    }

                        ]

                }

}

if the elements upto 4 its giving response, but more than 4 throwing error

Hyder_Ziaee
Adobe Employee
Hyder_ZiaeeAdobe EmployeeAccepted solution
Adobe Employee
August 30, 2019

For data warehouse, you need to specify source as warehouse.

Try this code:

{

     "reportDescription":{

          "reportSuiteID":"<INSERT-RSID-HERE>",

          "dateFrom":"2019-08-10",

          "dateTo":"2019-08-11",

          "dateGranularity":"day",

          "source":"warehouse",

          "metrics":[

               {"id":"event10"}

          ],

          "elements":[

               {"id" : "zip"},

               {"id" : "evar8"},

               {"id" : "evar6"},

               {"id" : "evar77"},

               {"id" : "evar37"}

          ]

     }

}

raviprasadp7863
Level 2
August 30, 2019

Already tried with this , was getting below error

{

    "error": "report_unsupported",

    "error_description": "This report type is unsupported by this method",

    "error_uri": "https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/errors"

}

Hyder_Ziaee
Adobe Employee
Adobe Employee
August 30, 2019

Did you use my code? I just ran with no problems at all.

Are you adding any additional parameters?

raviprasadp7863
Level 2
August 30, 2019

I used the same code..Is there any limitation for the report suit?

raviprasadp7863
Level 2
August 30, 2019

And am using postman to get the respose

Hyder_Ziaee
Adobe Employee
Adobe Employee
August 30, 2019

I am using Postman as well:

What's your endpoint?

raviprasadp7863
Level 2
August 30, 2019