-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(GoogleGenerativeAl.RPCError error 1.) #82
Comments
Hi @iTarek, at the moment, the Gemini API is only available in these regions. Unfortunately, I don't have any information on plans or timelines to expand the available locations (I sympathize since it's not available in Canada either). In the meantime, we're working on improving the error message in unsupported regions. |
As an example of how a developer could currently detect / handle this error (without #85):
Pain points noted:
Note: Removing |
Hi @iTarek, version https://github.com/google/generative-ai-swift/releases/tag/0.4.7 of the SDK is now available, which adds an Will close this issue but feel free to re-open if you have additional feedback / concerns. |
Description of the bug:
I am using SDK version 0.4.4, and everything works well. However, a few users in different locations around the world, such as Norway, encounter an error when they run my app, rendering it unusable.
The operation could not be completed. (The GoogleGenerativeAl.RPCError error 1.)
What is this error? How can I fix it?
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: