Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

Unhandled Runtime Exception while calling https://api-partner.spotify.com/ads/v2

Unhandled Runtime Exception while calling https://api-partner.spotify.com/ads/v2

while calling the : https://api-partner.spotify.com/ads/v2/ad_accounts/ad_account_id/aggregate_reports?entity_type=AD&re...

 

i got error :

{
"sp_trace_id": "005f5323-7818-4439-a3cb-ce457de08b9f",
"messages": [
"Unhandled Runtime Exception"
]
this worked last week, suddenly it start to fail. need that for migration to new version V2. 
 
 
 
Reply
6 Replies

Welcome to the Community, @BenanMozalbet. Thanks for the detailed issue report. I would suggest reaching out to the Ads API support team for help with this one. You can find their contact information here: https://developer.spotify.com/documentation/ads-api#support

Have you been able to resolve this already? we are having the same issues. Will contact the support aswell

hii

no not yet, it still fail !

Hi! I'm also getting this error. Did you guys get any response from **bleep**?

**bleep** meant Spotify API support email

The closest i could get to "working" is this, although it changes behavior and is not the exact same query. You must provide entity_ids and entity_ids_type. The query seems redundant but it does not work unless you specify entity type as campaign twice.

curl --request GET \
--url "https://api-partner.spotify.com/ads/v2/ad_accounts/<ad_account_id>/aggregate_reports?fields=CLICKS&entity_type=CAMPAIGN&entity_ids=<campaign_id>&granularity=DAY&entity_ids_type=CAMPAIGN&report_start=2023-09-01T00:00:00Z&report_end=2023-09-02T00:00:00Z" \
--header 'Authorization: Bearer token'

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 5 years ago  in Social & Random