Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Error: "Credentials are Missing" in flow Action "Copy attachment to SFTP Server"

Manthira Moorth
Tera Expert

Dear Peers,

 

I got the Error in  "Credentials are Missing" in flow Action "Copy attachment to SFTP Server".

 

I am using the Connection alias. It is working in DEV, but when i moved to UAT and updated correct host name, Port number after i checked from the Flow Action Level, It says the error.

 

I am using the Connection Alias but in the error message we got the Target_credentials_alis is empty.

 

Kindly help on this topic.

 

Many Thanks,

Manthira

5 REPLIES 5

M Iftikhar
Tera Sage

Hello @Manthira Moorth

This error can also occur if the password / client secret tied to your credential didn’t migrate correctly from DEV >UAT. Since encrypted fields don’t always copy over with update sets, please:

  • Re-enter the password or client secret directly in the credential record in UAT.

  • Test the connection again after saving.

Along with that, still validate the basics:

  • Connection Alias record exists in UAT and is linked to the credential.

  • Credential mapping is not empty (otherwise you’ll see Target_credentials_alias is empty).

  • Scope differences if the alias was created under a custom app scope.

  • Host/Port values match your UAT SFTP server.

 

Thanks & Regards,   

Muhammad Iftikhar     

If my response helped, please mark it as the accepted solution so others can benefit as well. 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.