Title: Create Post &#8211; Issue with Apps Script
Last modified: December 11, 2023

---

# Create Post – Issue with Apps Script

 *  [extensus](https://wordpress.org/support/users/extensus/)
 * (@extensus)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/create-post-issue-with-apps-script/)
 * I followed the installation instructions to a T, however the provided apps script
   had an issue preventing me from implementing the plugin. It always errored out
   with a 404.
 * Line 25: `var acceptResponseJSON = JSON.parse(acceptResponse.getContentText());`
   
   Returns this error:`SyntaxError: Unexpected token '<', "<!doctype "... is not
   valid JSON`
 * Therefore I believe the URL on line 21 is wrong, or that the plugin has an issue
   with self-hosting.
 * The url I was given was: [https://placeholder-domain.org/wp2020/wp-json/wpgsi/accept](https://placeholder-domain.org/wp2020/wp-json/wpgsi/accept)
    -  This topic was modified 2 years, 6 months ago by [extensus](https://wordpress.org/support/users/extensus/).
      Reason: url formatting

Viewing 1 replies (of 1 total)

 *  Plugin Author [javmah](https://wordpress.org/support/users/javmah/)
 * (@javmah)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/create-post-issue-with-apps-script/#post-17269868)
 * Thanks for your ticket, Local host update will not work, Also enable the remote
   update by clicking the checkbox. thanks & regards

Viewing 1 replies (of 1 total)

The topic ‘Create Post – Issue with Apps Script’ is closed to new replies.

 * ![](https://ps.w.org/wpgsi/assets/icon-256x256.gif?rev=2560092)
 * [WPGSI: Spreadsheet Integration](https://wordpress.org/plugins/wpgsi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpgsi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpgsi/)
 * [Active Topics](https://wordpress.org/support/plugin/wpgsi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpgsi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpgsi/reviews/)

## Tags

 * [create post](https://wordpress.org/support/topic-tag/create-post/)

 * 1 reply
 * 2 participants
 * Last reply from: [javmah](https://wordpress.org/support/users/javmah/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/create-post-issue-with-apps-script/#post-17269868)
 * Status: not resolved