3 Replies Latest reply on Aug 12, 2015 6:54 PM by ashleywolf

    Jive placeTemplate API down?

    ashleywolf

      Hi all,

       

      We put together a script to build spaces and sub-spaces. We would like to create a new placeTemplate to reference for the spaces. When I try to create the global template for activity + pages templates I cannot save it.  I opened the dev console and saw a "Failed to load resource: the server responded with a status of 400 (Bad Request)" for the API place templates.

       

      Is there a workaround to be able to create spaces with a certain template if I cannot create a new one?


      Thanks!

        • Re: Jive placeTemplate API down?

          Hi Ashley!

           

          Can you post your JSON payloads that your are using for this? Hard to figure out what might be wrong otherwise

          • Re: Jive placeTemplate API down?
            Ryan Rutan

            Agree, 400 request usually means something is malformed.  If we see the JSON, we can usually compare it to the Jive REST API v3.12 docs and see if we can find the culprit.

            • Re: Jive placeTemplate API down?
              ashleywolf

              Hi Nils Heuer and Ryan Rutan,

               

              The request is not going out so I cannot intercept it to pull the json. I click Save in the New in this window and nothing happens.

               

              Screen Shot 2015-08-12 at 6.11.06 PM.png

               

              Stack trace from console logs:

               

              POST https://jiveurl.com/api/core/v3/placeTemplates/ 400 (Bad Request) send

                @ vendor.unminified.js:10257jQuery.extend.ajax

                @ vendor.unminified.js:9802i

                @ edit_controller.unminified.js:58protect.copyTemplate

                @ template_edit_view.js?salt=jive.resource.salt:142(anonymous function)

                @ template_edit_view.js?salt=jive.resource.salt:85k

                @ vendor.unminified.js:3690l.add

                @ vendor.unminified.js:3736d.always

                @ vendor.unminified.js:3837(anonymous function)

                @ template_edit_view.js?salt=jive.resource.salt:74k

                @ vendor.unminified.js:3690l.fireWith

                @ vendor.unminified.js:3802(anonymous function)

                @ vendor.unminified.js:3854k

                @ vendor.unminified.js:3690l.fireWith

                @ vendor.unminified.js:3802c

                @ vendor.unminified.js:9901b

                @ vendor.unminified.js:10311