3 Replies Latest reply on Jun 21, 2021 10:27 PM by Jharana Patra

    Cloud API Issue

    Mohamed Salem New Member

      Hi please,

      I have an issue in calling inforamtica cloud APIs in my power shell script

       

      $Objects=Invoke-RestMethod -Uri $Resource_URL -ContentType "application/json" -Method "GET" -Headers $headers

       

      $Resources=Invoke-RestMethod -Uri $Resource_URL -ContentType "application/json"  -Method "POST" -Headers $headers -Body $body

       

      This the error ({"code":"AUTH_01","description":"Authentication failure. ","statusCode":401})

      It was working well before

       

      Any solutions?