Skip to content
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

INVALID_ARGUMENT #167

Open
smatisen opened this issue Mar 2, 2023 · 3 comments
Open

INVALID_ARGUMENT #167

smatisen opened this issue Mar 2, 2023 · 3 comments

Comments

@smatisen
Copy link

smatisen commented Mar 2, 2023

After I managed to install this plugin, my bot completely stop working the way it ws before. Crash after crash. I`m not sure if I should not use it or can it be fixed is some way?

Error: 3 INVALID_ARGUMENT: Cannot convert an array value in an array value. at callErrorFromStatus

DEFAULT 2023-03-02T12:46:16.591903Z [resource.labels.functionName: valimisedBot] [labels.executionId: 1u84fc1geo2s] at /workspace/node_modules/@google-cloud/firestore/build/src/v1/firestore_client.js:225:29

Caused by: Error
DEFAULT 2023-03-02T12:46:16.591951Z [resource.labels.functionName: valimisedBot] [labels.executionId: 1u84fc1geo2s] at WriteBatch.commit (/workspace/node_modules/@google-cloud/firestore/build/src/write-batch.js:433:23)
DEFAULT 2023-03-02T12:46:16.591956Z [resource.labels.functionName: valimisedBot] [labels.executionId: 1u84fc1geo2s] at DocumentReference.set (/workspace/node_modules/@google-cloud/firestore/build/src/reference.js:392:27)
DEFAULT 2023-03-02T12:46:16.591961Z [resource.labels.functionName: valimisedBot] [labels.executionId: 1u84fc1geo2s] at Object.write (/workspace/node_modules/@grammyjs/storage-firestore/dist/cjs/index.js:11:39)
DEFAULT 2023-03-02T12:46:16.591968Z [resource.labels.functionName: valimisedBot] [labels.executionId: 1u84fc1geo2s] at PropertySession.finish (/workspace/node_modules/grammy/out/convenience/session.js:232:40)

DEBUG 2023-03-02T12:46:16.598473367Z [resource.labels.functionName: valimisedBot] [labels.executionId: 1u84fc1geo2s] Function execution took 1877 ms, finished with status: 'crash'

@Satont
Copy link
Member

Satont commented Mar 2, 2023

Whats version of "@google-cloud/firestore" are you using? Can you try 6.*?

@smatisen
Copy link
Author

smatisen commented Mar 2, 2023

I`m using firestore via admin. firebase-admin/firestore. version 11.5.0

arthurgubaidullin added a commit to arthurgubaidullin/grammy-storages that referenced this issue May 22, 2023
add conversation support
fixes INVALID_ARGUMENT grammyjs#167
arthurgubaidullin added a commit to arthurgubaidullin/grammy-storages that referenced this issue May 23, 2023
add conversation support
fixes INVALID_ARGUMENT grammyjs#167
@KnorpelSenf
Copy link
Member

Is this still relevant?

arthurgubaidullin added a commit to arthurgubaidullin/grammy-storages that referenced this issue Oct 3, 2023
add conversation support
fixes INVALID_ARGUMENT grammyjs#167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants