kapa.ai
CCConvex Community
•Created by rochel3 on 5/31/2024 in #support-community
pyTelegrambotAPI with convex, cant get image to be sent sometimes
13 replies
CCConvex Community
•Created by rochel3 on 5/31/2024 in #support-community
pyTelegrambotAPI with convex, cant get image to be sent sometimes
----------------------
Based on the information provided, it seems like the issue might be related to the retrieval of the image URL from the Convex storage. The error message "Bad Request: wrong file identifier/HTTP URL specified" suggests that the URL being used to fetch the image from the Convex storage might be incorrect or expired.
In Convex, the storage URLs are temporary and they expire after a certain period of time. If you are storing the URL and using it at a later time, it might have expired causing the error. Instead, you should always fetch the URL when you need it using the
getImg
function you have defined.
If the issue persists, it might be due to some other factors not covered in the provided knowledge sources. It would be helpful to check the Convex logs for any errors or warnings when the issue occurs. You can also reach out to the Convex support team for further assistance.
As for the issue not occurring in your Next.js project, it could be due to differences in how the projects are set up or how they interact with the Convex storage. Without more information, it's hard to pinpoint the exact cause.
Here is the reference to the Convex documentation for File Storage with HTTP actions (https://docs.convex.dev/file-storage#file-storage-with-http-actions) which might be helpful.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------13 replies
CCConvex Community
•Created by rochel3 on 5/31/2024 in #support-community
pyTelegrambotAPI with convex, cant get image to be sent sometimes
Hi @rochel3. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
13 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
Sorry @FleetAdmiralJakob 🗕 🗗 🗙, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
15 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
Let me check the knowledge base for you. One moment! :books:
15 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
Sorry @FleetAdmiralJakob 🗕 🗗 🗙, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
15 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
Let me check the knowledge base for you. One moment! :books:
15 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
15 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
----------------------
Based on the knowledge sources provided, it seems like you're trying to create a many-to-many relationship between
users
and messages
tables. However, the error messages suggest that you need to specify the table
if you're customizing the field
or inverseField
for a many:many edge.
Unfortunately, the knowledge sources do not provide a direct solution to your problem. However, they do provide some insights into how to define edges and inverse edges in Convex Ents.
For instance, in the Discord support thread: [Convex Ents] Missing inverse edge (https://discord.com/channels/1019350475847499849/1239185755465846864), a user had a similar issue with defining edges. The solution was to use singular forms in the edge()
method and plural forms in the edges()
method.
However, this might not directly apply to your case as you're dealing with a many-to-many relationship and the error message suggests that you need to specify the table
in your configuration.
I would recommend checking the Convex documentation or reaching out to the Convex support for more specific guidance on how to define many-to-many relationships in Convex Ents.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------15 replies
CCConvex Community
•Created by FleetAdmiralJakob 🗕 🗗 🗙 on 5/30/2024 in #support-community
[Convex Ents] Problems with inverse field
Hi @FleetAdmiralJakob 🗕 🗗 🗙. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
15 replies
CCConvex Community
•Created by Riki on 5/30/2024 in #support-community
Convex-test and by_creation_time
6 replies
CCConvex Community
•Created by Riki on 5/30/2024 in #support-community
Convex-test and by_creation_time
----------------------
The error message you're seeing suggests that the
by_creation_time
index is not declared in your schema for the notifications
table. While Convex automatically creates the by_creation_time
index and uses it for database queries that don't specify an index, it seems that this index might not be automatically available in the testing environment provided by convex-test
.
To resolve this issue, you could try explicitly declaring the by_creation_time
index in your schema for the notifications
table. Here's an example of how you might do this:
This will explicitly declare the by_creation_time
index in your schema, which should make it available for use in your tests.
If you continue to experience issues, I would recommend reaching out to the Convex support community for further assistance.
Sources:
- Database > Indexes > Limits (https://docs.convex.dev/database/indexes#limits)
- Functions > Testing > convex-test
library > Calling functions with t.query
, t.mutation
and t.action
(https://docs.convex.dev/functions/testing#calling-functions-with-tquery-tmutation-and-taction)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------6 replies
CCConvex Community
•Created by Riki on 5/30/2024 in #support-community
Convex-test and by_creation_time
Hi @Riki. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
6 replies
CCConvex Community
•Created by v on 5/30/2024 in #support-community
Question on Convex Auth0 and Lucia OAuth Providers
6 replies
CCConvex Community
•Created by v on 5/30/2024 in #support-community
Question on Convex Auth0 and Lucia OAuth Providers
----------------------
The Convex documentation or the knowledge sources provided do not specifically mention whether Convex's Auth0 integration requires cookies to be enabled or if it only uses local storage.
As for Lucia, it is mentioned in a Discord support thread (https://discord.com/channels/1019350475847499849/1197992984935940138) that OAuth providers can be configured via Lucia. However, the specifics of how to add OAuth providers are not detailed in the provided sources.
For a more detailed understanding of how Convex's Auth0 integration and Lucia handle cookies and local storage, as well as how to add OAuth providers in Lucia, I would recommend referring to their respective official documentation or reaching out to their support.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
6 replies
CCConvex Community
•Created by v on 5/30/2024 in #support-community
Question on Convex Auth0 and Lucia OAuth Providers
Hi @v. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
6 replies
CCConvex Community
•Created by Patolord on 5/30/2024 in #support-community
Failed to load resource: the server responded with a status of 400 () - File Storage
4 replies