Skip to main content
Cadet | Tier 2
October 4, 2022
Question

Field 'content' must not be null. error message shows while calling simple get api. Can anyone provide the solution please. Thanks for your help in advance.

  • October 4, 2022
  • 9 replies
  • 1321 views

 

The error messageGetting an error message while testing simple get API method

    9 replies

    Most Valuable Pathfinder
    October 6, 2022

    Hi @Srinivasan Sundaramoorthy​ ,

     

    Have you tested this API in postman? If possible can you check in Headers/Query parameters/Body of the API's are not missed

    Chand
    Cadet | Tier 2
    October 9, 2022

    Thank you for the response. As advised have tested the API in postman i was able to get the response. Please find the postman results Postman results

    Cadet | Tier 2
    October 9, 2022

    BOT to call API

    Most Valuable Pathfinder
    October 10, 2022

    Hi @Srinivasan Sundaramoorthy​ 

     

    Can you pass the required Header's in A360 Rest Web Services get Method command and give a try?

    Chand
    Cadet | Tier 2
    June 1, 2023

    Add headers and allocate the JSON response to a dictionary variable.

    thereafter in the message box try “$variable{body}$”

    Cadet | Tier 2
    August 2, 2023

    Any updates on this??

    @srini have you got the solution.

    Navigator | Tier 3
    December 12, 2024

    i am also facing same issue with Rest command and getting error only when using inside Loop

    Mandar12
    Navigator | Tier 3
    May 19, 2025

    is something wrong with the package? As i tried same on postman

    Thanks
    Shreya.Kumar
    Pathfinder Community Team
    May 19, 2025

    For the benefit of everyone who comes across this thread in the future, posting a link to Aaron’s solution here. Hope this helps: