Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Can't delete segment after it's gone to error state

(0) ShareShare
ReportReport
Posted on by 20

Hi all,

I'm trying to create a segment with a behavior block. It keeps going to error state after I go live but now I can't delete the segment and start over. Any idea why this is? 

  • Cnquest Profile Picture
    Cnquest 97 on at
    RE: Can't delete segment after it's gone to error state

    Hey Felicia!

    I had a similar problem and a nice member of this community helped me get it sorted. I saved the answer just in case—hopefully it will help you as well. Props to that person, if they see this!

    Go into the segment with the error state and fetch the segment ID. Open up Chrome DevTools (F12) and go to console. Add your segment ID into the code below, then copy and paste into the console.

    var data = { "statuscode": 192350000 }

    var request = await fetch("/api/data/v9.0/msdyncrm_segments(PUT SEGMENT ID HERE)", {"method": "PATCH", "headers": {"content-type": "application/json"}, "body": JSON.stringify(data)});

    console.log(request.status);

  • Suggested answer
    AyushJain Profile Picture
    AyushJain on at
    RE: Can't delete segment after it's gone to error state

    Hi

    Is this still an issue? If so, can you please contact technical support as this could be a bug 

  • Nya Profile Picture
    Nya 29,058 on at
    RE: Can't delete segment after it's gone to error state

    Hi,

    Would you please share the error message if there is any or some screenshots about it?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans