Intermittent Failure Of Analytics Metric Reports API Request

(Doc ID 2310212.1)

Last updated on OCTOBER 03, 2017

Applies to:

Oracle Social Marketing Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : NA version, Social Station

Intermittent failure of Analytics Metric Reports API request

There is an occasional failing of the rest API call to post a metric report in SRM. The status being returned is 502 Bad Gateway.


ERROR
-----------------------
502 Bad Gateway


STEPS
-----------------------
The following rest API call is being sent (note I’ve removed the token for security purposes):

curl -X POST \
  https://public-api.vitrue.com/analytics/v1/metricReports \
  -d ' { "reportType":"discrete", "bundleId":25502, "resources":[{"id":205223}], "metrics":[{"metric":"page_engaged_users"},{"metric":"page_consumptions"},{"metric":"page_stories_by_story_type"},{"metric":"page_storytellers_by_story_type"},{"metric":"page_consumptions_by_consumption_type"},{"metric":"page_negative_feedback_by_type"},{"metric":"page_storytellers_by_city"},{"metric":"page_storytellers_by_country"},{"metric":"page_storytellers_by_locale"},{"metric":"page_storytellers_by_age_gender"},{"metric":"page_storytellers_by_age_female"},{"metric":"page_storytellers_by_age_male"},{"metric":"page_impressions_paid"},{"metric":"page_impressions_organic"},{"metric":"page_impressions_viral"},{"metric":"page_impressions_by_story_type"}], "reportedAtStart":"2017-01-01", "reportedAtEnd":"2017-01-31" }'

Multiple failures should be visible in the backend logs, please check during the dates 14-Aug-15-Aug.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms