Hi @Funi , Could you send your trace IDs, if they show up in error logging? Separately I’ll email you to get more information so I can reproduce. Thanks! Jan
Oh one thing to check, if you’re behind a firewall and/or a VPN, the API calls might be blocked. Could you do a simple cUrl call from the same machine to see if you get a response? Could you try using a serverless system like Cloudflare workers to see if you get different results?
I tried the api on another device, and it worked. However, when i try to do it on my main device, it still returns {“error”:{“message”:“Not Found”}} Is my IP like, blocked, perhaps? Also, the playground still works. And, the demo at https://groq.com/ still works. Also, if the node.js logs will help, then here they are. NotFoundError: 404 {“error”:{“message”:“Not Found”}}
at APIError.generate (file:///D:/Workspace/groqtest/node_modules/groq-sdk/error.mjs:45:20)
at Groq.makeStatusError (file:///D:/Workspace/groqtest/node_modules/groq-sdk/core.mjs:286:25)
at Groq.makeRequest (file:///D:/Workspace/groqtest/node_modules/groq-sdk/core.mjs:332:30)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async file:///D:/Workspace/groqtest/test.js:7:24 {
status: 404,
headers: {
‘alt-svc’: ‘h3=“:443”; ma=86400’,
‘cf-ray’: ‘961871141f0a9dad-DME’,
connection: ‘keep-alive’,
‘content-length’: ‘33’,
‘content-type’: ‘application/json’,
date: ‘Sat, 19 Jul 2025 07:17:53 GMT’,
server: ‘cloudflare’,
‘set-cookie’: ‘__cf_bm=zPblfV3noSS5uiqNyLOt.BZ27gyuD4TdEyYnsuuaKjo-1752909473-1.0.1.1-ItVRYIhhIXjsLGe0XJsUPu09VWkj9qNKme.4596zuYJ2WRGhQt4sosZ0LsnD19yTSxlFvij31HW3KNl0dMEXTCUfBADFNACogbXA6GCPXlY; path=/; expires=Sat, 19-Jul-25 07:47:53 GMT; domain=.groq.com; HttpOnly; Secure; SameSite=None’,
vary: ‘Accept-Encoding’
},
error: { error: { message: ‘Not Found’ } }
}
Node.js v22.11.0
Appears that its all because of my location….
I have to use a vpn, i guess… theres nothing else i can do Oh well, unless someone finds a solution vpn-less, i will have to use one.