Forum Discussion
Selection Stuck in "Processing" Status via API
Hello everyone,
I’m currently facing an issue when creating a Catalog Selection via the Braze API. The selection is successfully created, but it remains stuck in the "Processing" status and never completes.
{
"selection": {
"name": "Test Product Selection",
"description": "Random MBB",
"results_limit": 1,
"filters": [
{
"field": "service_provider",
"operator": "equals",
"value": "Sport Fankhauser"
}
]
}
}
The selection is successfully created (message:success), but it remains stuck in"processing" status indefinitely.
Do i something wrong ?
Do you still have the issue? Usually, updating a catalog or creating a selection gets them stuck in a "processing" state but that's only until you refresh or open the catalog in a new browser tab.
Can you test to see if you're able to reference the selection in templates? Ah, looking at your selection name - you have spaces between the words and you might not be able to reference it. The liquid to initialize the selection will likely break.
Try doing the same thing but replace the spaces with dashes or underscores.
- reentryInfluencer
Sry i forgot the picture from Braze
- ArsoExpert
Do you still have the issue? Usually, updating a catalog or creating a selection gets them stuck in a "processing" state but that's only until you refresh or open the catalog in a new browser tab.
Can you test to see if you're able to reference the selection in templates? Ah, looking at your selection name - you have spaces between the words and you might not be able to reference it. The liquid to initialize the selection will likely break.
Try doing the same thing but replace the spaces with dashes or underscores.
- reentryInfluencer
Sry stupid -it was the space between
- AllanHeoFNMVisionary
Yup, no spaces, no special characters... hyphen or underscore separated is the way to go!
This is the case for many other things, but we've also noticed that it's a bit buggy with Catalog/Selections UI. Glad you got it figured out!
Related Content
- 10 months ago
- 6 months ago
- 10 months ago