# GitHub / Hubspot Integration errors

**URL:** <https://community.hubspot.com/t/github-hubspot-integration-errors/63508>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [August 23, 2022, 4:55am UTC](https://community.hubspot.com/t/github-hubspot-integration-errors/63508 "2022-08-23T04:55:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KHand](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@KHand](https://community.hubspot.com/u/KHand)\
**Post date:** [August 23, 2022, 4:55am UTC](https://community.hubspot.com/t/github-hubspot-integration-errors/63508/1 "2022-08-23T04:55:49Z")

</div>

Hello, I am trying to intrgrate github and hubpot for my team. The goal is to use github as a source of truth for hubspot. I saw this demo (The Demo without the bin dir) and tried this first. I was successful at getting files to move from github to hubspot. However I get errors when I do my pushes. Specifically, I get a “exit code 2”. Not sure what this means. If I can clear the errors I can call this complete.

 ![Screen Shot 2022-08-18 at 12.13.32 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/b/3bcaf9322627d48354d04faf12ea6cf38843f5ec.png)  
Everytime I run this workflow it consistently breaks on the meta.jsonn file

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 25, 2022, 1:54am UTC](https://community.hubspot.com/t/github-hubspot-integration-errors/63508/2 "2022-08-25T01:54:27Z")

</div>

Hey, @KHand 👋 Thanks for reaching out. Can you provide a link to the guide or repo you are referencing? Having more information can increase the ability of the community to understand your question.

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![paradummy](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paradummy](https://community.hubspot.com/u/paradummy)\
**Post date:** [August 26, 2022, 8:45am UTC](https://community.hubspot.com/t/github-hubspot-integration-errors/63508/3 "2022-08-26T08:45:21Z")

</div>

Hi KHand, I had the same problem with a clone of the search-result module when uploading with the CLI. It is caused by the js assets that are linked in the module. I manually downloaded these (template.js & url-search-params.js), put it into my themes folder and updated the meta.json, then it worked:

Spoiler

{

“content\_tags” : [ {

“name” : “SEARCH”,

“source” : “MARKETPLACE”

}, {

“name” : “COMPATIBLE\_BLOG”,

“source” : “MARKETPLACE”

}, {

“name” : “COMPATIBLE\_PAGE”,

“source” : “MARKETPLACE”

} ],

“global” : false,

“icon” : “../../../mV0\_hubspot/img/icon/edited-search.svg”,

“host\_template\_types” : [“PAGE”],

“module\_id” : 51527122911,

“css\_assets” : [],

“js\_assets” : [ {

“autoload” : true,

“path” : “../../js/hubspot/template.js”,

“name” : “template.js”

}, {

“autoload” : true,

“path” : “../../js/hubspot/url-search-params.js”,

“name” : “url-search-params.js”

} ],

“label” : “search\_results”,

“is\_available\_for\_new\_content” : false

}

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 30, 2022, 9:52pm UTC](https://community.hubspot.com/t/github-hubspot-integration-errors/63508/4 "2022-08-30T21:52:24Z")

</div>

Thanks for sharing, @paradummy 🙌 — Jaycee
