Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/characters/{character_id}/notifications/ - unknown notification type (6040) #1380

Closed
5 of 6 tasks
soratidus999 opened this issue Jun 21, 2024 · 5 comments
Closed
5 of 6 tasks

Comments

@soratidus999
Copy link

soratidus999 commented Jun 21, 2024

Bug

Regression of #1368

Some notifications returned from /characters/{character_id}/notifications/ are not returning their type, instead they are returning an "unknown notification type (6040)" or "unknown notification type (6041)" breaking validation of this response data. Interfering with the normal usage of this endpoint.

This is occuring because the respective notification types have not been added to eve-glue

esi/eve-glue#35 has been merged to fix 280-285

Request

GET http://characters/character_id/notifications/?datasource=tranquility

Response

Status Code

200

Headers

I didnt record headers this time around

Body

...
  {
    "notification_id": 1234567890,
    "sender_id": 1234567890,
    "sender_type": "character",
    "text": "corpID: 1234567890\n",
    "timestamp": "2024-06-17Txx:yy:00Z",
    "type": "unknown notification type (6040)"
  },
...

Expected

200

...
  {
    "notification_id": 1234567890,
    "sender_id": 1234567890,
    "sender_type": "character",
    "text": "corpID: 1234567890\n",
    "timestamp": "2024-06-17Txx:yy:00Z",
    "type": "StructureLowReagentsAlert"
  },
...

Checklist

Check all boxes that apply to this issue:

  • Bug description is provided
  • Request path is provided
  • Response status code is provided
  • Response headers are provided
  • Response body is provided
  • Expected response is provided
@soratidus999
Copy link
Author

unknown notification type (283) introduced by PATCH NOTES FOR 2024-07-04.1

@soratidus999
Copy link
Author

unknown notification type (6040) Is being passed to ESI, not sure if this is new but we've only just noticed it

I thought these were supposed to be be persistent notifications, so i have no followed up these on eve-glue

@soratidus999
Copy link
Author

/v6/characters/{character_id}/notifications/ Addresses most of these notifications, 6040 is still outstanding

@soratidus999 soratidus999 changed the title /characters/{character_id}/notifications/ - unknown notification type (280) /characters/{character_id}/notifications/ - unknown notification type (6040) Jul 12, 2024
@soratidus999
Copy link
Author

Updated post to reflect 6040 StructureLowReagentsAlert and 6041 StructureNoReagentsAlert

@steven-noorbergen steven-noorbergen added gd-feedback-pending Issue requires Game Design feedback and has been submitted for review. and removed gd-feedback-pending Issue requires Game Design feedback and has been submitted for review. labels Jul 12, 2024
@steven-noorbergen
Copy link
Member

This should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants