Troubleshooting SDKs
The official Files.com SDKs are designed for easy onboarding and efficiency by default. Each SDK includes standard retry logic and intelligent error handling so that you can focus on implementing business logic rather than deciphering HTTP responses.
There are some issues that can be confusing for developers who are being introduced to the SDKs for the first time.
CORS Errors Using the Javascript SDK
You should not attempt to use the Javascript SDK directly within a web browser. Like all of our SDKs, it is intended for server-side use.
If you attempt to access the REST API directly from a browser, users of your application will most likely receive an error due to our Cross-Origin Resource Sharing (CORS) policy.
API Request-ID
To expedite troubleshooting API issues with our Support team, locate the Request-ID in the API Logs that corresponds with the problem. Providing Support with the Request-ID will speed up the process of identifying the issue.