Perplexity API Returns Empty Citations Array: Fix
When you call the Perplexity API and the citations array comes back empty, your application cannot display the sources behind the answer. This breaks the core value of Perplexity’s search-grounded responses. The problem usually occurs because the return_citations parameter is not set to true in your API request. This article explains the exact cause and … Read more