# Google doc links from Google Apps account don't work

**URL:** https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951
**Category:** Bug
**Created:** [7. Februar 2015 um 18:26 UTC](https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951 "2015-02-07T18:26:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jqnatividad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jqnatividad/32/115589_2.png) [@jqnatividad](https://meta.discourse.org/u/jqnatividad)
#### Post date: [7. Februar 2015 um 18:26 UTC](https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951/1 "2015-02-07T18:26:07Z")

</div>

They result in a page with Google complaining that the link is not valid.

However, if I go ask for a shareable link from the same Google Doc, the link works.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7. Februar 2015 um 18:52 UTC](https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951/2 "2015-02-07T18:52:01Z")

</div>

Can you provide examples here?

---

<div class="post-metadata">

### Author: ![jqnatividad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jqnatividad/32/115589_2.png) [@jqnatividad](https://meta.discourse.org/u/jqnatividad)
#### Post date: [7. Februar 2015 um 20:01 UTC](https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951/3 "2015-02-07T20:01:38Z")

</div>

For example:

A public google doc shared from a Google Apps account (beta.nyc) that doesn’t work. It appears that Discourse url encodes the ? for the edit URL parameter.

> **[Non Procurement Sample.xlsx](https://docs.google.com/a/beta.nyc/spreadsheets/d/1mucqtKu8NNVbZpZ5aNXSyu88doovXFKI_QIt5UrfoSw/edit?gid=1516527776)**

It doesn’t happen on the get a shareable link version of the same doc.

> **[Non Procurement Sample.xlsx](https://docs.google.com/spreadsheets/d/1mucqtKu8NNVbZpZ5aNXSyu88doovXFKI_QIt5UrfoSw/edit?usp=sharing)**
>
> This Sheet is private

As markdown link - [form 1](https://docs.google.com/a/beta.nyc/spreadsheets/d/1mucqtKu8NNVbZpZ5aNXSyu88doovXFKI_QIt5UrfoSw/edit?gid=1516527776)

As markdown link - [form 2](https://docs.google.com/spreadsheets/d/1mucqtKu8NNVbZpZ5aNXSyu88doovXFKI_QIt5UrfoSw/edit?usp=sharing)

Strange… it works here…

---

<div class="post-metadata">

### Author: ![jqnatividad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jqnatividad/32/115589_2.png) [@jqnatividad](https://meta.discourse.org/u/jqnatividad)
#### Post date: [7. Februar 2015 um 20:24 UTC](https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951/4 "2015-02-07T20:24:18Z")

</div>

Never mind, it was a user error ☹ I double-checked the user’s posting, and he must have mangled the URLs when he C&Ped from the browser:

[https://docs.google.com/a/beta.nyc/spreadsheets/d/1mucqtKu8NNVbZpZ5aNXSyu88doovXFKI\_QIt5UrfoSw/edit%23gid=1516527776](https://docs.google.com/a/beta.nyc/spreadsheets/d/1mucqtKu8NNVbZpZ5aNXSyu88doovXFKI_QIt5UrfoSw/edit%23gid=1516527776)

Note the %23 for the URL parm. BTW, does Discourse handle percent-encoded links? (say %20 for embedded spaces)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7. Februar 2015 um 21:33 UTC](https://meta.discourse.org/t/google-doc-links-from-google-apps-account-dont-work/24951/5 "2015-02-07T21:33:38Z")

</div>


