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

DCHECK in brave://settings due to getAdsData definition #19802

Closed
emerick opened this issue Nov 29, 2021 · 0 comments · Fixed by brave/brave-core#11312
Closed

DCHECK in brave://settings due to getAdsData definition #19802

emerick opened this issue Nov 29, 2021 · 0 comments · Fixed by brave/brave-core#11312

Comments

@emerick
Copy link
Contributor

emerick commented Nov 29, 2021

@goodov noticed that there's a DCHECK when opening brave://settings:

[98904:10884:1129/174909.495:FATAL:api_response_validator.cc(78)] Check failed: false. Error validating response to `braveRewards.getAdsData`: Error at parameter 'adsIsSupported': Invalid type: expected boolean, found object.

He also found that the root cause is an erroneous definition of the callback parameters for getAdsData in brave_rewards.json.

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

Successfully merging a pull request may close this issue.

2 participants