Forums

Investing.com not calls not working

Hello, I have a paid account but still cant do a call using request.get to investing.com can you help me?

I see you upgraded only today -- are running your code in an old console (created before the upgrade)? If so, please try starting a new one, and check if that helps. If not, please share the error message you get with us.

Hello, thanks for your fast reply. I still get an error 403 when trying to access "investing.com" in a new console. I did the same test with google.com and works perfectly.

403 error means that you connected to the server but it refused to authorize your request. There's probably some authorization needed.

I still have the same error. Does I need to put this URL (investing.com) in a whitelist or something else?

A 403 response means that the server you are connecting to is refusing to respond, saying that you are not authorised. In a free account that might mean that you are trying to connect to a site that is not on the allowlist, but with a paid account it would be a response coming from investing.com itself. If you look at the contents of the 403 response that you are getting, it will probably contain a message saying why they are not allowing your request.