Skip to main content
Answer

Badge not visible on task, badge request in network returns nothing

  • February 4, 2025
  • 3 replies
  • 36 views

SanderAdam
Captain
Forum|alt.badge.img+5

Hello everyone,

As the title suggests, I have one task, which is supposed to have a badge, where the  badge does not show up. In a working situation I expect the following:
 

And the requests that show up in the network tab regarding the badge:
 

 

When I try this for the other task I get the following:
 

The task in the menu has no badge. The network requests look like the following:
 

It returns empty. When I do the badge query at the database directly, I get a result of 233 in this case. And the badge is configured on this task like this:
​​​​​​

It does exactly this, it refreshes after every 3 seconds, but it does not show the badge itself. What are we doing wrong?

Best answer by SanderAdam

Excuse me, I have already found the answer: the code was not properly assigned to the badge. Then it obviously does not work.

This topic has been closed for replies.

3 replies

SanderAdam
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • Answer
  • February 4, 2025

Excuse me, I have already found the answer: the code was not properly assigned to the badge. Then it obviously does not work.


Forum|alt.badge.img+17
  • Moderator
  • February 4, 2025

What happens if you run the URL of the badge directly in the internet browser? 
Also, are you testing this against the sf or iam?


SanderAdam
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • February 4, 2025

What happens if you run the URL of the badge directly in the internet browser? 
Also, are you testing this against the sf or iam?

I tested this against the SF, I assigned the code wrongly as stated in the previous answer. We replaced our menu item with a task. And everything got assigned correctly but this one. All is well now!