Test Data Manager

 View Only
  • 1.  Javelin - GridTools.Javelin.RESTActivites.RESTPutActivity

    Posted Sep 25, 2020 01:32 PM
    Hi,

    In a javelin workflow, I need to send a Post request to a REST API.

    I have a hard time trying to use the component "GridTools.Javelin.RESTActivites.RESTPutActivity".

    I got the following error at the runtime : "error:Data at the root level is invalid"


    Do you have documentation on how we should use this component?

    Also, what is your recommendation for debugging?
    Because we don't have much information only with this error message.


  • 2.  RE: Javelin - GridTools.Javelin.RESTActivites.RESTPutActivity

    Broadcom Employee
    Posted Sep 25, 2020 01:45 PM
    if you search the communities there are several threads around using Javelin and rest calls, many have screenshots or also have attachments in them
    https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?MessageKey=b2d55e55-f223-4299-9ed5-2b332e390b78&CommunityKey=909e0526-d8ad-455d-97eb-aa009df5d3aa&tab=digestviewer#bmb2d55e55-f223-4299-9ed5-2b332e390b78


    ------------------------------
    Gene Howard
    Principal Support Engineer
    Broadcom
    ------------------------------



  • 3.  RE: Javelin - GridTools.Javelin.RESTActivites.RESTPutActivity

    Posted Sep 25, 2020 02:22 PM
    Did you get authentication key back from the server?


  • 4.  RE: Javelin - GridTools.Javelin.RESTActivites.RESTPutActivity

    Broadcom Employee
    Posted Sep 25, 2020 02:33 PM

    these KB might offer some help as well
    How to use Token Bearer Authentication with Javelin (Knowledge Base Articles - 196933)
    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=196933

    How to create a header for REST calls when using Javelin (Knowledge Base Articles - 196930)

    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=196930



    ------------------------------
    Gene Howard
    Principal Support Engineer
    Broadcom
    ------------------------------