api close to working
continued troubleshooting