Skip to content

401 Unauthorized #5

@glatzl

Description

@glatzl

Getting 401 Unauthorized. In Request headers I can see its the correct API key:
image

Response:
image

Code:

import { CSGOEmpire, ListedItemsResponse } from "csgoempire-api";
const empire = new CSGOEmpire(process.env.CSGOEMPIRE_API_KEY);

async () => {
  const { data }: ListedItemsResponse = await empire.getListedItems(1, 10);
  console.log('data', data)
}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions