-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
After the lastest release, SEO and Accessibility score is shown as null for mobile strategy #12717
Comments
Do you have an example query that is returns null SEO and accessibility. Based on the documentation you linked, I think PSI API can only audit one category at a time. |
Thanks @adamraine for quick response. The documentation I linked has an option saying 'try it now' where you can select the URL, multiple categories and strategy. Please refer the screen shot here. Also, to hit the URL with postman with multiple categories, I checked this -> https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://axioned.com/&key=AIzaSyBLaS9d9h1xz8cWRhPi9LrVa0OYVWRR0jc&category=performance&category=seo&category=accessibility&category=best-practices&strategy=mobile. Also, here is the response of the above api's resulting null values for SEO and accessibility. |
Ah, you are correct. It looks like the accessibility gatherer is failing. This means some audits in Accessibility and SEO are failing, so we can't compute a score for those categories. This looks like a bug in PSI. |
Thanks for filing @dshubhamprdxn! This appears to be a duplicate of #12705 which has been fixed and will be published to PSI at the next release. |
Thanks @patrickhulce, hope the new release will be available soon!! |
FAQ
URL
https://axioned.com/
What happened?
I'm using pagespeed insights API for fetching data on our site. It works fine for most of the sites but since the new update, we are getting null for SEO and Accessibility for mobile strategy. I have tried fetching data multiple times with the API with postman, API documentation but still receiving the same result for this website.
When we try to fetch this data with chromes dev tools we were able to get proper results for mobile strategy having a score of around 90 for SEO and accessibility. Not sure why we are not getting proper values from pagespeed insights API
.
Here is the data where I check the score for fetching SEO and accessibility:
mobile['lighthouseResult']['categories']['seo']['score']
mobile['lighthouseResult']['categories']['accessibility']['score']
What did you expect?
The expected score here is should be around 90 for SEO and accessibility.
What have you tried?
No response
How were you running Lighthouse?
PageSpeed Insights
Lighthouse Version
8
Chrome Version
No response
Node Version
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: