Getting 403 for any request through Nodejs

Technical Support

Ask a Question
Back to All

Getting 403 for any request through Nodejs

Tried on https://documentation.poap.tech/reference/gethealth-check, everything worked out fine.

When running the same code on my machine, I'm getting the following result.

res: Response {
    size: 0,
    timeout: 0,
    [Symbol(Body internals)]: { body: [Gunzip], disturbed: true, error: null },
    [Symbol(Response internals)]: {
      url: 'https://api.poap.tech/health-check',
      status: 403,
      statusText: 'Forbidden',
      headers: [Headers],
      counter: 0
    }
  }