filiptronicek / gh-sponsors-api

A REST API for GitHub Sponsors
https://ghs.vercel.app/
MIT License
37 stars 5 forks source link

`500: INTERNAL_SERVER_ERROR` for `https://ghs.vercel.app/v2/count/marcuswhybrow` #31

Closed marcuswhybrow closed 5 months ago

marcuswhybrow commented 7 months ago

Hi,

https://ghs.vercel.app/v2/count/filiptronicek works as expected and produces:

{
  "status": "success",
  "sponsors": {
    "current": 3,
    "past": 12
  }
}

But https://ghs.vercel.app/v2/count/marcuswhybrow give the error:

00: INTERNAL_SERVER_ERROR 
Code: FUNCTION_INVOCATION_FAILED 
ID: lhr1::thxwg-1713617338689-f4e0d1a2cfbd

Here's the screengrab too:

image

Cheers, Marcus

filiptronicek commented 5 months ago

Hey @marcuswhybrow, I have just pushed a commit which should fix this incorrect behavior. Let me know if you encounter further issues.