New notification type causes problems it seems
With the hypernet mew notification tyoes have been implemented and these are cause problems as it seems
Traceback (most recent call last):
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/structures/tasks.py", line 296, in fetch_notifications_for_owner
character_id=token.character_id
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/esi/clients.py", line 71, in result
result, response = super(CachingHttpFuture, self).result(**kwargs)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado/http_future.py", line 62, in wrapper
return func(self, *args, **kwargs)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado/http_future.py", line 121, in result
self.response_callbacks)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado/http_future.py", line 156, in unmarshal_response
op=operation,
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado/http_future.py", line 200, in unmarshal_response_inner
validate_schema_object(op.swagger_spec, content_spec, content_value)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado_core/validate.py", line 56, in validate_schema_object
validate_array(swagger_spec, schema_object_spec, value)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado_core/validate.py", line 33, in scrubbed
reraise(*sys.exc_info())
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado_core/validate.py", line 25, in scrubbed
return func(*args, **kwargs)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/bravado_core/validate.py", line 95, in validate_array
).validate(value)
File "/home/tnnt_auth/auth-system/venv/auth/lib/python3.7/site-packages/jsonschema/validators.py", line 348, in validate
raise error
jsonschema.exceptions.ValidationError: 'RaffleExpired' is not one of ['AcceptedAlly', 'AcceptedSurrender', 'AllAnchoringMsg', 'AllMaintenanceBillMsg', 'AllStrucInvulnerableMsg', 'AllStructVulnerableMsg', 'AllWarCorpJoinedAllianceMsg', 'AllWarDeclaredMsg', 'AllWarInvalidatedMsg', 'AllWarRetractedMsg', 'AllWarSurrenderMsg', 'AllianceCapitalChanged', 'AllianceWarDeclaredV2', 'AllyContractCancelled', 'AllyJoinedWarAggressorMsg', 'AllyJoinedWarAllyMsg', 'AllyJoinedWarDefenderMsg', 'BattlePunishFriendlyFire', 'BillOutOfMoneyMsg', 'BillPaidCorpAllMsg', 'BountyClaimMsg', 'BountyESSShared', 'BountyESSTaken', 'BountyPlacedAlliance', 'BountyPlacedChar', 'BountyPlacedCorp', 'BountyYourBountyClaimed', 'BuddyConnectContactAdd', 'CharAppAcceptMsg', 'CharAppRejectMsg', 'CharAppWithdrawMsg', 'CharLeftCorpMsg', 'CharMedalMsg', 'CharTerminationMsg', 'CloneActivationMsg', 'CloneActivationMsg2', 'CloneMovedMsg', 'CloneRevokedMsg1', 'CloneRevokedMsg2', 'CombatOperationFinished', 'ContactAdd', 'ContactEdit', 'ContainerPasswordMsg', 'CorpAllBillMsg', 'CorpAppAcceptMsg', 'CorpAppInvitedMsg', 'CorpAppNewMsg', 'CorpAppRejectCustomMsg', 'CorpAppRejectMsg', 'CorpBecameWarEligible', 'CorpDividendMsg', 'CorpFriendlyFireDisableTimerCompleted', 'CorpFriendlyFireDisableTimerStarted', 'CorpFriendlyFireEnableTimerCompleted', 'CorpFriendlyFireEnableTimerStarted', 'CorpKicked', 'CorpLiquidationMsg', 'CorpNewCEOMsg', 'CorpNewsMsg', 'CorpNoLongerWarEligible', 'CorpOfficeExpirationMsg', 'CorpStructLostMsg', 'CorpTaxChangeMsg', 'CorpVoteCEORevokedMsg', 'CorpVoteMsg', 'CorpWarDeclaredMsg', 'CorpWarDeclaredV2', 'CorpWarFightingLegalMsg', 'CorpWarInvalidatedMsg', 'CorpWarRetractedMsg', 'CorpWarSurrenderMsg', 'CustomsMsg', 'DeclareWar', 'DistrictAttacked', 'DustAppAcceptedMsg', 'EntosisCaptureStarted', 'FWAllianceKickMsg', 'FWAllianceWarningMsg', 'FWCharKickMsg', 'FWCharRankGainMsg', 'FWCharRankLossMsg', 'FWCharWarningMsg', 'FWCorpJoinMsg', 'FWCorpKickMsg', 'FWCorpLeaveMsg', 'FWCorpWarningMsg', 'FacWarCorpJoinRequestMsg', 'FacWarCorpJoinWithdrawMsg', 'FacWarCorpLeaveRequestMsg', 'FacWarCorpLeaveWithdrawMsg', 'FacWarLPDisqualifiedEvent', 'FacWarLPDisqualifiedKill', 'FacWarLPPayoutEvent', 'FacWarLPPayoutKill', 'GameTimeAdded', 'GameTimeReceived', 'GameTimeSent', 'GiftReceived', 'IHubDestroyedByBillFailure', 'IncursionCompletedMsg', 'IndustryOperationFinished', 'IndustryTeamAuctionLost', 'IndustryTeamAuctionWon', 'InfrastructureHubBillAboutToExpire', 'InsuranceExpirationMsg', 'InsuranceFirstShipMsg', 'InsuranceInvalidatedMsg', 'InsuranceIssuedMsg', 'InsurancePayoutMsg', 'InvasionSystemLogin', 'JumpCloneDeletedMsg1', 'JumpCloneDeletedMsg2', 'KillReportFinalBlow', 'KillReportVictim', 'KillRightAvailable', 'KillRightAvailableOpen', 'KillRightEarned', 'KillRightUnavailable', 'KillRightUnavailableOpen', 'KillRightUsed', 'LocateCharMsg', 'MadeWarMutual', 'MercOfferRetractedMsg', 'MercOfferedNegotiationMsg', 'MissionOfferExpirationMsg', 'MissionTimeoutMsg', 'MoonminingAutomaticFracture', 'MoonminingExtractionCancelled', 'MoonminingExtractionFinished', 'MoonminingExtractionStarted', 'MoonminingLaserFired', 'MutualWarExpired', 'MutualWarInviteAccepted', 'MutualWarInviteRejected', 'MutualWarInviteSent', 'NPCStandingsGained', 'NPCStandingsLost', 'OfferToAllyRetracted', 'OfferedSurrender', 'OfferedToAlly', 'OldLscMessages', 'OperationFinished', 'OrbitalAttacked', 'OrbitalReinforced', 'OwnershipTransferred', 'ReimbursementMsg', 'ResearchMissionAvailableMsg', 'RetractsWar', 'SeasonalChallengeCompleted', 'SovAllClaimAquiredMsg', 'SovAllClaimLostMsg', 'SovCommandNodeEventStarted', 'SovCorpBillLateMsg', 'SovCorpClaimFailMsg', 'SovDisruptorMsg', 'SovStationEnteredFreeport', 'SovStructureDestroyed', 'SovStructureReinforced', 'SovStructureSelfDestructCancel', 'SovStructureSelfDestructFinished', 'SovStructureSelfDestructRequested', 'SovereigntyIHDamageMsg', 'SovereigntySBUDamageMsg', 'SovereigntyTCUDamageMsg', 'StationAggressionMsg1', 'StationAggressionMsg2', 'StationConquerMsg', 'StationServiceDisabled', 'StationServiceEnabled', 'StationStateChangeMsg', 'StoryLineMissionAvailableMsg', 'StructureAnchoring', 'StructureCourierContractChanged', 'StructureDestroyed', 'StructureFuelAlert', 'StructureItemsDelivered', 'StructureItemsMovedToSafety', 'StructureLostArmor', 'StructureLostShields', 'StructureOnline', 'StructureServicesOffline', 'StructureUnanchoring', 'StructureUnderAttack', 'StructureWentHighPower', 'StructureWentLowPower', 'StructuresJobsCancelled', 'StructuresJobsPaused', 'StructuresReinforcementChanged', 'TowerAlertMsg', 'TowerResourceAlertMsg', 'TransactionReversalMsg', 'TutorialMsg', 'WarAdopted ', 'WarAllyInherited', 'WarAllyOfferDeclinedMsg', 'WarConcordInvalidates', 'WarDeclared', 'WarHQRemovedFromSpace', 'WarInherited', 'WarInvalid', 'WarRetracted', 'WarRetractedByConcord', 'WarSurrenderDeclinedMsg', 'WarSurrenderOfferMsg']
Failed validating 'enum' in schema['items']['properties']['type']:
{'description': 'type string',
'enum': ['AcceptedAlly',
'AcceptedSurrender',
'AllAnchoringMsg',
'AllMaintenanceBillMsg',
'AllStrucInvulnerableMsg',
'AllStructVulnerableMsg',
'AllWarCorpJoinedAllianceMsg',
'AllWarDeclaredMsg',
'AllWarInvalidatedMsg',
'AllWarRetractedMsg',
'AllWarSurrenderMsg',
'AllianceCapitalChanged',
'AllianceWarDeclaredV2',
'AllyContractCancelled',
'AllyJoinedWarAggressorMsg',
'AllyJoinedWarAllyMsg',
'AllyJoinedWarDefenderMsg',
'BattlePunishFriendlyFire',
'BillOutOfMoneyMsg',
'BillPaidCorpAllMsg',
'BountyClaimMsg',
'BountyESSShared',
'BountyESSTaken',
'BountyPlacedAlliance',
'BountyPlacedChar',
'BountyPlacedCorp',
'BountyYourBountyClaimed',
'BuddyConnectContactAdd',
'CharAppAcceptMsg',
'CharAppRejectMsg',
'CharAppWithdrawMsg',
'CharLeftCorpMsg',
'CharMedalMsg',
'CharTerminationMsg',
'CloneActivationMsg',
'CloneActivationMsg2',
'CloneMovedMsg',
'CloneRevokedMsg1',
'CloneRevokedMsg2',
'CombatOperationFinished',
'ContactAdd',
'ContactEdit',
'ContainerPasswordMsg',
'CorpAllBillMsg',
'CorpAppAcceptMsg',
'CorpAppInvitedMsg',
'CorpAppNewMsg',
'CorpAppRejectCustomMsg',
'CorpAppRejectMsg',
'CorpBecameWarEligible',
'CorpDividendMsg',
'CorpFriendlyFireDisableTimerCompleted',
'CorpFriendlyFireDisableTimerStarted',
'CorpFriendlyFireEnableTimerCompleted',
'CorpFriendlyFireEnableTimerStarted',
'CorpKicked',
'CorpLiquidationMsg',
'CorpNewCEOMsg',
'CorpNewsMsg',
'CorpNoLongerWarEligible',
'CorpOfficeExpirationMsg',
'CorpStructLostMsg',
'CorpTaxChangeMsg',
'CorpVoteCEORevokedMsg',
'CorpVoteMsg',
'CorpWarDeclaredMsg',
'CorpWarDeclaredV2',
'CorpWarFightingLegalMsg',
'CorpWarInvalidatedMsg',
'CorpWarRetractedMsg',
'CorpWarSurrenderMsg',
'CustomsMsg',
'DeclareWar',
'DistrictAttacked',
'DustAppAcceptedMsg',
'EntosisCaptureStarted',
'FWAllianceKickMsg',
'FWAllianceWarningMsg',
'FWCharKickMsg',
'FWCharRankGainMsg',
'FWCharRankLossMsg',
'FWCharWarningMsg',
'FWCorpJoinMsg',
'FWCorpKickMsg',
'FWCorpLeaveMsg',
'FWCorpWarningMsg',
'FacWarCorpJoinRequestMsg',
'FacWarCorpJoinWithdrawMsg',
'FacWarCorpLeaveRequestMsg',
'FacWarCorpLeaveWithdrawMsg',
'FacWarLPDisqualifiedEvent',
'FacWarLPDisqualifiedKill',
'FacWarLPPayoutEvent',
'FacWarLPPayoutKill',
'GameTimeAdded',
'GameTimeReceived',
'GameTimeSent',
'GiftReceived',
'IHubDestroyedByBillFailure',
'IncursionCompletedMsg',
'IndustryOperationFinished',
'IndustryTeamAuctionLost',
'IndustryTeamAuctionWon',
'InfrastructureHubBillAboutToExpire',
'InsuranceExpirationMsg',
'InsuranceFirstShipMsg',
'InsuranceInvalidatedMsg',
'InsuranceIssuedMsg',
'InsurancePayoutMsg',
'InvasionSystemLogin',
'JumpCloneDeletedMsg1',
'JumpCloneDeletedMsg2',
'KillReportFinalBlow',
'KillReportVictim',
'KillRightAvailable',
'KillRightAvailableOpen',
'KillRightEarned',
'KillRightUnavailable',
'KillRightUnavailableOpen',
'KillRightUsed',
'LocateCharMsg',
'MadeWarMutual',
'MercOfferRetractedMsg',
'MercOfferedNegotiationMsg',
'MissionOfferExpirationMsg',
'MissionTimeoutMsg',
'MoonminingAutomaticFracture',
'MoonminingExtractionCancelled',
'MoonminingExtractionFinished',
'MoonminingExtractionStarted',
'MoonminingLaserFired',
'MutualWarExpired',
'MutualWarInviteAccepted',
'MutualWarInviteRejected',
'MutualWarInviteSent',
'NPCStandingsGained',
'NPCStandingsLost',
'OfferToAllyRetracted',
'OfferedSurrender',
'OfferedToAlly',
'OldLscMessages',
'OperationFinished',
'OrbitalAttacked',
'OrbitalReinforced',
'OwnershipTransferred',
'ReimbursementMsg',
'ResearchMissionAvailableMsg',
'RetractsWar',
'SeasonalChallengeCompleted',
'SovAllClaimAquiredMsg',
'SovAllClaimLostMsg',
'SovCommandNodeEventStarted',
'SovCorpBillLateMsg',
'SovCorpClaimFailMsg',
'SovDisruptorMsg',
'SovStationEnteredFreeport',
'SovStructureDestroyed',
'SovStructureReinforced',
'SovStructureSelfDestructCancel',
'SovStructureSelfDestructFinished',
'SovStructureSelfDestructRequested',
'SovereigntyIHDamageMsg',
'SovereigntySBUDamageMsg',
'SovereigntyTCUDamageMsg',
'StationAggressionMsg1',
'StationAggressionMsg2',
'StationConquerMsg',
'StationServiceDisabled',
'StationServiceEnabled',
'StationStateChangeMsg',
'StoryLineMissionAvailableMsg',
'StructureAnchoring',
'StructureCourierContractChanged',
'StructureDestroyed',
'StructureFuelAlert',
'StructureItemsDelivered',
'StructureItemsMovedToSafety',
'StructureLostArmor',
'StructureLostShields',
'StructureOnline',
'StructureServicesOffline',
'StructureUnanchoring',
'StructureUnderAttack',
'StructureWentHighPower',
'StructureWentLowPower',
'StructuresJobsCancelled',
'StructuresJobsPaused',
'StructuresReinforcementChanged',
'TowerAlertMsg',
'TowerResourceAlertMsg',
'TransactionReversalMsg',
'TutorialMsg',
'WarAdopted ',
'WarAllyInherited',
'WarAllyOfferDeclinedMsg',
'WarConcordInvalidates',
'WarDeclared',
'WarHQRemovedFromSpace',
'WarInherited',
'WarInvalid',
'WarRetracted',
'WarRetractedByConcord',
'WarSurrenderDeclinedMsg',
'WarSurrenderOfferMsg'],
'title': 'get_characters_character_id_notifications_type',
'type': 'string'}
On instance[0]['type']:
'RaffleExpired'