Alerts (sandbox): Console errors 400 bad request is showing when the users access Any ALMA tab

Description

Issue Component(s) on Oct 23, 2023, 11:21:27 AM: ALERTS_MANAGEMENT | EVENT_POLICY

PRDE - Bug default text according to the team DoR (Definition of Ready)

01 - PERSON OF CONTACT (PERSON THAT CAN ANSWER QUESTIONS ABOUT THE PROBLEM):

@Douglas Coimbra Lopes
02 - PROBLEM (WHAT'S THE ISSUE?):

  • Console errors 400 bad gateway is showing when the users access Any ALMA tab
  • curl 'https://totvsbrucewayne.qarol.ai/api-ui/alert-management/channels/7b3ef8f9-1f2e-41aa-be51-a1da3b94f00c' \
      -H 'authority: totvsbrucewayne.qarol.ai' \
      -H 'accept: application/json, text/plain, */*' \
      -H 'accept-language: en-US,en;q=0.9' \
      -H 'authorization: 538e0ea4155441bfa678959eab6e6a14' \
      -H 'referer: https://totvsbrucewayne.qarol.ai/carol-org/alerts-management/notifications' \
      -H 'sec-ch-ua: "Chromium";v="118", "Brave";v="118", "Not=A?Brand";v="99"' \
      -H 'sec-ch-ua-mobile: ?0' \
      -H 'sec-ch-ua-platform: "macOS"' \
      -H 'sec-fetch-dest: empty' \
      -H 'sec-fetch-mode: cors' \
      -H 'sec-fetch-site: same-origin' \
      -H 'sec-gpc: 1' \
      -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36' \
      -H 'x-carol-organization-id: ce2a9f39d7064f429d365f933e53bf40' \
      --compressed

03 - STEPS TO REPRODUCE (STEP (1...N), VIDEO, SCREENSHOTS, LOGS FOLDER, HEARTBEAT, ETC. – IF IS NOT POSSIBLE TO REPRODUCE EXPLAIN THE REASON):

  • Access platform as OrgAdmin
  • Access Notification tab

04 - LINKS (ADD A LINK TO THE BUG OR TO THE TENANT):
05 - EXPECTED BEHAVIOR (LIST THE EXPECTED BEHAVIORS TO CONSIDER THIS BUG AS DONE):