The Community Search page is currently unavailable. We are investigating this and hope to have a fix as soon as possible. Please use alternate search engines (e.g. Google) or navigate to your profile to find individual posts. Thank you!

HTTP Call syntax

SimonC
SimonC โœญโœญ
edited 09/08/23 in Add Ons and Integrations

Hi Smartsheet Bridge community.

We are pretty excited about enabling BRIDGE.

Have hit a roadblock and suspecting the sytax we are parsing is incorrect for a HTTP Call.

When running a CURL command to copy an existing sheet this is what we running - and works successfully.

image.png


The trigger is working fine. The following error is coming back after parsing HTTP call

image.png


"Invalid Content-Type header. Media type not supported."


And this is how we have configured Bridge to make the HTTP call.

image.png


I'm suspecting it has something to do with the syntax we are parsing.

Any help would be appreciated.

thanks

Best Answer

  • SimonC
    SimonC โœญโœญ
    edited 08/08/21 Answer โœ“

    I'll answer my own questions here.

    Smartsheet Support helped me out with such a fast turnaround (Thanks team)

    In the header there is no need to include ':' in the key

    And the body should be {"destinationType": "folder", "destinationId": 1516713075337092, "newName": "newSheetName"}

    Works a treat!

Answers