- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-07-2023 11:48 PM
Hi Guys,
I am working on the training and I am missing something very obvious to do with the IP address 10.0.20.1 and the computer name: comp01a.acme.corp. Just need to be pointed in the direction of what to look at it would be most appreciated.
When I run the test from the browser I get the same error
https://ccp.acme.corp/AIMWebService/api/Accounts?AppID=Test-App02-CCP&Query=Safe=Test-DB-MySQL;VirtualUsername=cardbapp
{"ErrorCode":"APPAP306E","ErrorMsg":"Authentication error for App ID [Test-App02-CCP]. Reason: APPAP133E Failed to verify application authentication data: IP \"10.0.20.1;comp01a.acme.corp\" is unauthorized"}
from the script
Invoke-RestMethod : {"ErrorCode":"APPAP306E","ErrorMsg":"Authentication error for App ID [Test-App02-CCP]. Reason:
APPAP133E Failed to verify application authentication data: IP \"10.0.20.1;comp01a.acme.corp\" is unauthorized"}
At C:\demo-scripts\CCP\GetPassword-REST.ps1:22 char:15
+ ... $secrets = (Invoke-RestMethod -Method Get -Uri "https://$ccp_srv/AIMW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
08-08-2023 07:59 AM
I ran into a similar issue. Even though I had included the IP on the "Allowed Machines" I was still getting the same error. The way I resolved it was by deleting the IP from the list and typing it instead of copy-paste. That resolved my issue.
08-08-2023 07:59 AM
I ran into a similar issue. Even though I had included the IP on the "Allowed Machines" I was still getting the same error. The way I resolved it was by deleting the IP from the list and typing it instead of copy-paste. That resolved my issue.
09-14-2023 04:06 AM
Hi @Fatjon Nushi,
Thanks for sharing!
-Niv
08-29-2025 09:33 AM
Thanks @Fatjon Nushi , this also solved my error.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

