shrimpy-node icon indicating copy to clipboard operation
shrimpy-node copied to clipboard

unable to get/create users

Open mevillep opened this issue 4 years ago • 1 comments


  const publicKey = process.env.PUB_KEY; 
  const privateKey = process.env.PRIVATE_KEY; 

  const client = new Shrimpy.ShrimpyApiClient(publicKey, privateKey);
  async function some() {
    try {
      const users = await client.getUsers();
      console.log(users);
      const response = {
        statusCode: 200,
        body: JSON.stringify({
          message: users,
        }),
      };

      callback(null, response);
    } catch (error) {
      // handle the error
    }
  }
  some();

`
```



used python aswell. unabel to create users or get existing ones. Premium member.

mevillep avatar Sep 18 '20 20:09 mevillep

Go to shrimpy Developers dashboard, Api Keys and enable all four boxes! Should fix the problem!

Darius19920110 avatar Mar 03 '21 10:03 Darius19920110