400 Bad request on google sheets iframe
-
Hi, thank you for the awesome plugin and huge knowledge base.
I’m trying to embed a Google Sheets sheet:
https://docs.google.com/spreadsheets/d/e/2PACX-1vRVfOnYjOwdkfnSAhCezQXkrAntZSVRnOT0islDmSOo1yd-EVl1EU9oIEztOLXoFdkX8ZPd0dEBdHjU/pubhtml?gid=0&single=trueHere’s the generated shortcode:
[advanced_iframe use_shortcode_attributes_only=”true” src=”https://docs.google.com/spreadsheets/d/e/2PACX-1vRVfOnYjOwdkfnSAhCezQXkrAntZSVRnOT0islDmSOo1yd-EVl1EU9oIEztOLXoFdkX8ZPd0dEBdHjU/pubhtml?gid=0&single=true” width=”100%” height=”750″ style=”max-width: 100%; max-height: 750px;” title=”gdocs-program-thursday”]Now the issue is, Google Sheets returns a 400 Bad Request error (in Czech the text means that currently the file could not be opened):
Now, when I embed this same link via other tools (the native [embed] blocks or EmbedPress), the iframe loads up just fine. The issue there is that it’s impossible to use it on mobile, because the iframe height gets decreased proportionately with the width, so on mobile you can see like the first three rows of the sheet.
I wanted to use your plugin because you allow to specify the max-height style attribute which should fix this responsivity issue. I am just fine with specifying it in pixels.
I’m using BeTheme.
The page I need help with: [log in to see the link]
- The topic ‘400 Bad request on google sheets iframe’ is closed to new replies.