Email Data Feed - 401 Unauthorized Error
search cancel

Email Data Feed - 401 Unauthorized Error

book

Article ID: 172917

calendar_today

Updated On:

Products

Email Security.cloud Email Threat Detection and Response

Issue/Introduction

Unable to generate metadata produced by the Email Data Feed service. Sample Python script gets executed and generates a .json log file containg error "401 Unauthorized". 

{"timestamp":1512541276114,"status":401,"error":"Unauthorized","message":"Unable to authenticate","path":"/all"}

Environment

Email Security.cloud

Email Threat Detection and Response

Cause

Unauthorized - authentication error. This error code is returned if no login credentials are provided or login credentials are invalid. 

Resolution

Ensure that your Email Security.cloud portal administrator has created at least one new user account in the portal for authentication to the Email Data Feed service. The user
account must have View Statistics permissions for the Advanced Threat Protection service.

Enter valid Username and Password into NdfConfig.json configuation file. Then run the script again to generate log files.