- Newest
- Most votes
- Most comments
Hi
Check these steps try to resolve issue hope it helps:
Check Log Retention: Verify that your CloudWatch Log Group's retention policy is set to an appropriate value. If the logs are being deleted after a short period, you might not be able to see recent entries.
Consider Log Filtering: If you're dealing with a large volume of logs, consider using CloudWatch Log Filters to narrow down the logs to relevant entries. This can help you identify specific error messages or information.
Empty Data from API Calls:
Inspect API Responses: Use tools like Postman or curl to directly call the third-party APIs and inspect their responses. Verify if the data is being returned correctly.
Check Network Traffic: Analyze your application's network traffic using browser developer tools or network monitoring tools. Look for any errors or unexpected behavior during the API calls.
Review API Key/Authentication: Ensure that your application is using the correct API key or authentication credentials to access the third-party services.
For more details refer below document links
- Amplify Documentation: Refer to the official Amplify documentation for guidance on deploying and configuring applications: https://docs.aws.amazon.com/amplify/
- CloudWatch Logs Documentation: Learn more about CloudWatch Logs and how to use it effectively: https://docs.aws.amazon.com/cloudwatch/
- Node.js Debugging Tools: Explore various debugging tools and techniques for Node.js applications: https://nodejs.org/en/learn/getting-started/debugging
