API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
Community Discussion

Community Discussion

Ask a Question
Back to All

Invalid Audience Id

Hello,

I am trying to add users to one of our custom audiences. I am getting the response back when I attempt to POST:

{"http_status":400,"message":"Invalid value 'xxxxxx'","offending_field":"audience_id","message_code":"api.action.bad_request.invalid_value.audience_id"}

As far as I know, the audience id I am posting back is "correct" based on the results I get back when I check the "/universal_pixel/custom_audience_rule" endpoint. I noticed in the documentation that the example was 2 digits, so I am wondering if I am looking at the wrong id?

Thanks,
Gabe