Last 12 weeks · 15 commits
5 of 6 standards met
The previous implementation lacked a robust mechanism for handling potential context overflow errors during the execution of API requests. This PR introduces a standardized detection mechanism for context overflow scenarios, leveraging the provided utility functions to inspect error messages. This improvement ensures that the application can gracefully identify and respond to requests that exceed the model's token limitations, enhancing the overall reliability of the SDK.
Hello I started recently to get these errors when calling various endpoints, for instance getCampains or getInsightsAsync or adreportrun.getInsights first error encountered mar. 4, 2025 and `` Seems like the response body returns an empty value or an error HTML be hard to debug the content on my side If need be for reproduction purposes i can patch the sdk to log the full HTTP response, but I wanted at least to know if it is a known bug that can be ignored/retried, or not I didn't have this error before migrating to release 24.0.1 of the SDK Thank you
Repository: facebook/facebook-nodejs-business-sdk. Description: Node.js SDK for Meta Marketing APIs Stars: 602, Forks: 246. Primary language: JavaScript. Languages: JavaScript (100%). Homepage: https://developers.facebook.com/docs/business-sdk Latest release: v25.0.2 (3w ago). Open PRs: 16, open issues: 67. Last activity: 2w ago. Community health: 75%. Top contributors: jingping2015, stcheng, vicdus, satwikareddy3, HeyMultiverse, marksliva, zanyaziz, davit-y, donglinw-fb, supasate and others.