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

After the lastest release, SEO and Accessibility score is shown as null for mobile strategy #12717

Closed
2 tasks done
ghost opened this issue Jun 29, 2021 · 5 comments
Closed
2 tasks done
Assignees
Labels
bug needs-investigation P1.5 PSI/LR PageSpeed Insights and Lightrider

Comments

@ghost
Copy link

ghost commented Jun 29, 2021

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
image.

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

@ghost ghost added the bug label Jun 29, 2021
@ghost ghost changed the title After the lastest update SEO and Accessibility is shown as null for mobile strategy After the lastest release, SEO and Accessibility is shown as null for mobile strategy Jun 29, 2021
@ghost ghost changed the title After the lastest release, SEO and Accessibility is shown as null for mobile strategy After the lastest release, SEO and Accessibility score is shown as null for mobile strategy Jun 29, 2021
@adamraine
Copy link
Member

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.

@adamraine adamraine added PSI/LR PageSpeed Insights and Lightrider needs-more-info labels Jun 29, 2021
@ghost
Copy link
Author

ghost commented Jun 29, 2021

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.

@adamraine
Copy link
Member

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.

@patrickhulce
Copy link
Collaborator

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.

@ghost
Copy link
Author

ghost commented Jun 30, 2021

Thanks @patrickhulce, hope the new release will be available soon!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-investigation P1.5 PSI/LR PageSpeed Insights and Lightrider
Projects
None yet
Development

No branches or pull requests

3 participants