openai / openai-cookbook

Examples and guides for using the OpenAI API
https://cookbook.openai.com
MIT License
58.48k stars 9.28k forks source link

[SUPPORT]Outlook API #1340

Open muestrom opened 1 month ago

muestrom commented 1 month ago

I tried the outlook API and did everything as shown on your web page, I think. When I use the API, I can login and a green message appears "your account is now connected". So it seems I did everything right. However, this repeats every time I access the API, and the actual task is never done. It seems like it gets an invalid token, and therefore tries to connect again and again, ad infinitum. What can be wrong?

neehhaa06 commented 1 month ago

Hello @muestrom

fix: #1340

I think you have to ensure your app handles token expiration and refreshes tokens correctly. Verify that tokens are stored and sent properly, and check for specific API error messages to diagnose the issue.