saleor
saleor copied to clipboard
Bug: Lack of validation in cleaning manifest data
What are you trying to achieve?
The KeyError
is raised when manifest_data
doesn't have tokenTargetUrl
.
Steps to reproduce the problem
- Run
AppFetchManifest
with URL that contains JSON data withouttokenTargetUrl
. - You will get the
KeyError
.
What did you expect to happen?
The ValidationError
should be raised.
Logs
https://sentry.io/organizations/saleor/issues/3749157627/?project=6417854
Environment
Saleor version: 3.9 (to check if it also affect other versions)