{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/rest/guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"API Troubleshooting Guide","description":"Embed DailyPay On Demand Pay into your applications with our APIs and SDKs.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"api-troubleshooting-guide","__idx":0},"children":["API Troubleshooting Guide"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you are experiencing issues or encountering errors while using the API endpoints for on-demand pay functionality, refer to the following troubleshooting steps:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Verify API Endpoint Access:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure that you are using the correct Base URL for accessing the API endpoints. Double-check the appropriate base URL and endpoint paths:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Production: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.dailypay.com/rest"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["UAT: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.dailypayuat.com/rest"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For API calls made from the developer portal to the DailyPay UAT environment:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure you have a UAT API key."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Scrub any data containing employee phone, email, and direct deposit information."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use non-production data."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Check Authentication and Authorization:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm that you are providing the correct authentication credentials to access protected API resources."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verify that the access token is valid and has the necessary permissions for the desired actions."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/guides/auth"},"children":["Authentication Overview"]}," guide for assistance in confirming these details."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Review Endpoint Parameters:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the Core Resource reference in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/reference"},"children":["DailyPay REST API documentation"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Handle Response Codes and Error Messages:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Pay attention to the response codes returned by the API. HTTP status codes in the 2xx range generally indicate success, while codes in the 4xx or 5xx range indicate errors."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Refer to the API documentation for a comprehensive list of error codes and their meanings. Error messages returned by the API can provide valuable insights into the cause of the issue."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Error codes and their meanings are included under each endpoint description."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test in the Sandbox Environment:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Test your integration in the sandbox environment to troubleshoot and debug without affecting live production data. Refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/reference/environments"},"children":["environments documentation"]}," for assistance."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Logging and Error Tracking:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Implement logging mechanisms in your application to capture relevant information, such as request and response details, error messages, and stack traces."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use proper error tracking tools or services to centralize and monitor error occurrences. This can help identify patterns and provide insights for resolution."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reach Out to Developer Support:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you have exhausted the troubleshooting steps and are still unable to resolve the issue, reach out to the developer support team for assistance."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Provide detailed information about the problem, including the API endpoints, request parameters, and any error messages received."]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Remember, troubleshooting steps may vary depending on the specific API endpoints and implementation details. Consult the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/rest/reference"},"children":["reference"]}," or reach out to your technical contact for further guidance and assistance in resolving any issues you encounter."]}]},"headings":[{"value":"API Troubleshooting Guide","id":"api-troubleshooting-guide","depth":1}],"frontmatter":{"seo":{"title":"API Troubleshooting Guide"}},"lastModified":"2026-07-14T14:30:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/rest/guides/troubleshooting","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}