deep-foundation / deep-foundation/deeplinks

Error: token for apolloClient is invalid or not provided

Open
#300 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Bug description

I get `Error: token for apolloClient is invalid or not provided` error when trying to login

### Expected 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 login

### Steps 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

```shell
## System:
- OS: Linux 6.1 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
- CPU: (16) x64 AMD EPYC 7B13
- Memory: 50.56 GB / 62.79 GB
- Container: Yes
- Shell: 5.1.16 - /bin/bash
## npmPackages:
- @deep-foundation/deeplinks: ^0.0.330 => 0.0.330
- axios: ^1.6.7 => 1.6.7
- chai: ^5.0.3 => 5.0.3
- dotenv: ^16.4.1 => 16.4.1
- dotenv-expand: ^10.0.0 => 10.0.0
- lodash: ^4.17.21 => 4.17.21
- prompt-sync: ^4.2.0 => 4.2.0
- puppeteer: ^21.10.0 => 21.10.0
- uniqid: ^5.4.0 => 5.4.0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.