Open FreePhoenix888 opened 9 months ago
It is possible to find this error in code like this: https://github.com/search?q=repo%3Adeep-foundation%2Fdeeplinks+%22token+for+apolloClient+is+invalid+or+not+provided%22&type=code
Then you can go https://github.com/deep-foundation/deeplinks/blob/427e40603a99bc658f69d52ed9efef340362aa86/imports/client.tsx#L558 and read the code.
That error means that you should provide the token, or there is an error in logic.
Did you try to uncomment the token here: https://github.com/deep-foundation/payments-tinkoff-c2c/blob/fc7fc546ea3735898c58198d8176d2d8887cb63d/payments-tinkoff-c2c.cjs#L89 ? You may also try to replace this token with your working token.
Bug description
I get
Error: token for apolloClient is invalid or not provided
error when trying to loginExpected Behavior
Login as in https://github.com/deep-foundation/deeplinks/blob/427e40603a99bc658f69d52ed9efef340362aa86/tests/permissions.ts#L1132-L1171 test the is passing successfully
Current Behavior
I get
Error: token for apolloClient is invalid or not provided
error when trying to loginSteps to reproduce
Execute this code: https://github.com/deep-foundation/payments-tinkoff-c2c/blob/fc7fc546ea3735898c58198d8176d2d8887cb63d/payments-tinkoff-c2c.cjs#L83-L123 . Do not forget to change generateApolloClient arguments
Workaround
No response
Environment