I have some webhooks that I am migrating to a new FME Server, these were previously working on another FME Server instance. But now that I have migrated to a new FME Server these webhooks are returning HTTP 500. I have looked at the logs and in the catalina log there is this message
Invalid character found in method name [lv[endof...]. HTTP method names must be tokens
The request headers coming out of python look like this
{'User-Agent': 'python-requests/2.24.0',
'Accept-Encoding': 'gzip, deflate',
'Accept': '*/*',
'Connection': 'keep-alive',
'Authorization': 'fmetoken token=token',
'Content-Length': '0'}
In the datastreaming log in FME Server I found this
Thu-23-Jul-2020 10:21:35.970 AM FATAL http-nio-80-exec-6 412007 : Service failed: java.nio.file.AccessDeniedException: C:\ProgramData\Safe Software\FME Server\resources\system\temp\requestdata\9058908488982796417
When I paste the webhook into my browser with the token it works fine but when I use the same URL with the python request library I get HTTP 500.
Has anyone had a similar issue?