Why do I get syntax error: identifier FHttpRequestPtr

I have the same problem, but moving/having #include "Http.h" in the .h header file didn’t fix the issue for me.