# PSC JSON file and Excel PQ

**URL:** <http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783>\
**Category:** Uncategorized\
**Created:** [January 8, 2023, 9:14pm UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783 "2023-01-08T21:14:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert\_green](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/robert_green/32/1053_2.png) [@robert\_green](http://forum.companieshouse.gov.uk/u/robert_green)\
**Post date:** [January 8, 2023, 9:14pm UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783/1 "2023-01-08T21:14:48Z")

</div>

I’m trying to load the PSC snapshot file (JSON format) into Excel Power Query and am getting the error: ‘Unable to connect. We found extra characters at the end of the JSON input’.  
I’m hoping to use PQ to merge a list of company numbers with this snapshot to give me the PSC. Is this possible and what is the error?  
Any help appreciated.  
Thanks

---

<div class="post-metadata">

**Author:** ![gabriel.oke](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/g/0ea827/32.png) [@gabriel.oke](http://forum.companieshouse.gov.uk/u/gabriel.oke)\
**Post date:** [December 2, 2023, 5:33pm UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783/2 "2023-12-02T17:33:14Z")

</div>

Did you ever resolve this Robert. I have the same issue.

---

<div class="post-metadata">

**Author:** ![robert\_green](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/robert_green/32/1053_2.png) [@robert\_green](http://forum.companieshouse.gov.uk/u/robert_green)\
**Post date:** [December 4, 2023, 9:59am UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783/3 "2023-12-04T09:59:08Z")

</div>

No. Never got to the bottom of this. Have you managed to connect PQ directly to the CH database?

---

<div class="post-metadata">

**Author:** ![andrew2](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@andrew2](http://forum.companieshouse.gov.uk/u/andrew2)\
**Post date:** [December 10, 2023, 2:01pm UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783/4 "2023-12-10T14:01:26Z")

</div>

What’s the api query you are using? I’m interested in PSC data and currently replying on items in the filing list. If there’s a json error I’d be interested in finding an example in case it effects my project.

---

<div class="post-metadata">

**Author:** ![robert\_green](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/robert_green/32/1053_2.png) [@robert\_green](http://forum.companieshouse.gov.uk/u/robert_green)\
**Post date:** [December 14, 2023, 3:43pm UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783/5 "2023-12-14T15:43:36Z")

</div>

Hi andrew2, sorry we are not using the API to get the PSC.  
We are using the snapshot files - [Companies House](https://download.companieshouse.gov.uk/en_pscdata.html). Our developer downloads them and unpacks them to our DB - but i am also trying to load them into PQ. Sorry for the confusion there.

---

<div class="post-metadata">

**Author:** ![michaelgoodier7](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/michaelgoodier7/32/1710_2.png) [@michaelgoodier7](http://forum.companieshouse.gov.uk/u/michaelgoodier7)\
**Post date:** [April 9, 2024, 3:29pm UTC](http://forum.companieshouse.gov.uk/t/psc-json-file-and-excel-pq/5783/6 "2024-04-09T15:29:49Z")

</div>

I’m having the same issue with R jsonlite::fromJSON()
