bcgov / bcgov/entity

Namex Emailer shows Errors in the Logs

Open
#34,442 0 comments 0 reactions 0 assignees View on GitHub
bug Names Team priority 2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Namex Emailer shows Errors in the Logs when it receives the event from namex pay. However, the email was sent successfully. It happened when the service tries to save the event. Please investigate if there are other cases cause this.

the json event send from namex-pay is different from others: namex-pay sends event to emailer: {'request': {'header': {'nrNum': 'NR 5668068'} but the codes in emailer get nrNum from here nr_num = ce.data.get("request", {}).get("nrNum", None). That is why it always gets nrNum=None

image.png

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Namex Emailer event-save path and compare the namex-pay payload shape with the other event variants. Confirm how nrNum is read and identify the other cases mentioned in the issue; done means successful emails no longer produce erroneous save errors and supported event shapes are handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.