meta-ai-api icon indicating copy to clipboard operation
meta-ai-api copied to clipboard

Exception: Unable to obtain a valid response from Meta AI. Try again later.

Open Dawgmastah opened this issue 1 year ago • 13 comments

It seems that facebook login may now be mandatory? Im getting this error even in the example code.

Dawgmastah avatar Jul 27 '24 23:07 Dawgmastah

Never mind, it seems it is related to VPN usage.

Dawgmastah avatar Jul 27 '24 23:07 Dawgmastah

Actually it seems only SOME countries allow for inference without login.

Dawgmastah avatar Jul 27 '24 23:07 Dawgmastah

Try accessing https://www.meta.ai/ with your connection. Usually most times the website will require to log into a Meta account if it detects you are using a VPN. Also I believe European countries can't access it.

Strvm avatar Jul 27 '24 23:07 Strvm

As an example:

With NordVPN on (USA): Screenshot 2024-07-27 at 16 11 34

Without any VPN (USA Connection): Screenshot 2024-07-27 at 16 11 49

Strvm avatar Jul 27 '24 23:07 Strvm

@Strvm I am able to access https://www.meta.ai/ without needing to login, but i still get the same error: Exception: Unable to obtain a valid response from Meta AI. Try again later.

AnxiousAnt avatar Jul 29 '24 19:07 AnxiousAnt

@Strvm

I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both.

Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

omkarxpatel avatar Jul 30 '24 18:07 omkarxpatel

@Strvm

I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both.

Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Strvm avatar Jul 30 '24 18:07 Strvm

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

omkarxpatel avatar Jul 30 '24 18:07 omkarxpatel

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

Strvm avatar Jul 30 '24 18:07 Strvm

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

The server itself is based in india

omkarxpatel avatar Jul 30 '24 19:07 omkarxpatel

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

The server itself is based in india

When connecting through india to https://meta.ai/, are you able to prompt the AI without logging into an account?

Strvm avatar Jul 30 '24 19:07 Strvm

@Strvm I currently have tested creating a MetaAI() session in both France and India. In france, neither the link or the api works. In India, the link works but the api does not. I get the error: Exception: Unable to obtain a valid response from Meta AI. Try again later. for both. Therefore, I have attempted to connect to a US proxy via the MetaAI argument

meta_client = MetaAI(proxy={
    'http': 'http://...',
    'https': 'http://...'
})

This does not work either.

Hi like I said above, France being in the European Union, https://meta.ai is not available there.

Right, what about India? the link works but the api does not. also, the proxy does not seem to work even tho it connects fine.

How are you connecting with India, via VPN/Proxy? If thats the case, https://meta.ai/ might be flagging it as a VPN/Proxy.

The server itself is based in india

When connecting through india to https://meta.ai/, are you able to prompt the AI without logging into an account?

image This is what i see. able to prompt but after that i need to select age and then finish. maybe this is where the api is struggling?

omkarxpatel avatar Jul 31 '24 06:07 omkarxpatel

Hi @Strvm I developed the Meta AI in a Google Cloud function but when it tries to call Meta AI it gives an error Was unable to obtain a valid response from Meta AI. Retrying... Attempt 1/3. Can I fix this anyway? The region of my GCP is us-central image

How can I determine the kind of error.

klakho0400 avatar Aug 10 '24 01:08 klakho0400