All Apps and Add-ons

Incapsula WAF API Script Error

Engager

Hi,

I am using the Incapsula WAF API Script to download the WAF logs.
I have updated the settings.config file with required parameters like API-ID, API-Key, etc.
There is no proxy involved.
After running the Logsdownloader Script, i am getting the below error:
ERROR Authorization error - Failed to download file. Response Code is 401.
File "LogsDownloader.py", line 128, in getlogfiles
self.logsfileindex.download()
File "LogsDownloader.py", line 457, in download
filecontent = self.filedownloader.requestfilecontent(self.config.BASEURL + "logs.index")
File "LogsDownloader.py", line 587, in request
file_content
raise Exception("Authorization error")
Exception: Authorization error

Any help in fixing the error would be great.
Regards,
ucas_soc

0 Karma

Path Finder

I have same problem.

0 Karma