positionstack
positionstack copied to clipboard
400 error
if(!data.partnership){
console.log("jdffd1",data);
req = await fetch(`http://api.positionstack.com/v1/forward?access_key=${this.configService.get<string>('POSITION_STACK_API_KEY')}&query=${data.location}®ion=${data.city}`)
res = await req.json()
console.log("res",res);
return Promise.resolve(res)
}
The server is down and our application depends on the API. Some parts of application had stopped working. Need to be fixed ASAP.