You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was supposed to post the changes made for my entry in the database in Firestore, when this error popped up:
{
"error": {
"code": 400,
"message": "Document parent name \"projects/vendo-app-979f8/databases/(default)/documents/products\" lacks \"/\" at index 63.",
"status": "INVALID_ARGUMENT"
}
}
I tracked the error down and printed the final path before being sent to Firestore. Here's the code used to send, as well as the link that was being sent using urequest.request:
What do you mean by "recognize the last part of the url" ?
There isn't the query separator (character ?), so the full URL https://firestore.googleapis.com/v1/projects/vendo-app-979f8/databases/(default)/documents/products/001
is sent AS-IS to the server.
I was supposed to post the changes made for my entry in the database in Firestore, when this error popped up:
I tracked the error down and printed the final path before being sent to Firestore. Here's the code used to send, as well as the link that was being sent using urequest.request:
And the path printed:
https://firestore.googleapis.com/v1/projects/vendo-app-979f8/databases/(default)/documents/products/001
why won't urequest recognize the last part of the url? And is there a fix to it?
Thanks for the help in advance.
The text was updated successfully, but these errors were encountered: