Hitting error when trying to get the Google Token in postman:
{
"fault": {
"faultstring": "Execution of ServiceCallout SC-TEST-AccessToken failed. Reason: ResponseCode 404 is treated as error",
"detail": {
"errorcode": "steps.servicecallout.ExecutionFailed"
}
}
}
I also have the Service Account Token role and my service callout is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout async="false" continueOnError="false" enabled="true" name="SC-TEST-AccessToken">
<Request clearPayload="true">
<Set>
<Verb>GET</Verb>
</Set>
</Request>
<Response>testTokenResponse</Response>
<HTTPTargetConnection>
<URL>https://apigee.googleapis.com/target/token?project_id=(PII Removed by Staff);scopes=https://www.googleapis.com/auth/cloud-platform</URL>
<Properties>
<Property name="success.codes">200</Property>
</Properties>
</HTTPTargetConnection>
</ServiceCallout>