#Issue in List Transactions API

1 messages · Page 1 of 1 (latest)

crystal lake
#

Please fix the issue, when a request is made. The 400 response is being returned with the error message.

chrome bloomBOT
#

A 400 Bad Request error in the Dodo Payments API usually indicates that the request was malformed or contained invalid parameters. Here are some common causes and troubleshooting steps:

  1. Missing Required Parameters: Ensure that all required parameters are included in your request. For example, if you're using the Customer Portal API, the customer_id parameter is mandatory. Omitting this will result in a 400 response .

  2. Invalid Query Parameters: Double-check the parameters you are sending. If any parameter is invalid or not recognized, it could lead to a 400 error. This applies to both query and body parameters .

  3. Payload Validation: If you're dealing with webhooks, ensure that the payload you send is valid. The payload is validated with Zod, and any invalid payload will return a 400 error .

  4. Correct API Endpoint: Make sure you are hitting the correct API endpoint with the appropriate HTTP method. For instance, some endpoints only support POST requests and will return a 405 error if another method is used .

  5. JSON Format: If your request includes a JSON body, ensure it is correctly formatted. Any syntax errors in the JSON can lead to a 400 response .

If these steps do not resolve your issue, please provide more specific details about your request, such as the endpoint you are using and the parameters you are sending, so I can assist you further.

Helpful Links

Dodo Payments Documentation

The Dodo Payments API provides comprehensive endpoints for payment processing, subscription management, and digital product delivery. Our RESTful API follows industry standards with detailed responses for all operations.

Dodo Payments Documentation

Learn more about error codes and how to resolve them in Dodo Payments API.

Dodo Payments Documentation

Understand the different webhook events triggered by Dodo Payments during payment, refund, subscription, dispute, and license key activities

#

Hey @crystal lake, We have limited availability over weekends, but rest assured we'll get back to you as soon as possible!

#

Hey @crystal lake, We have limited availability over weekends, but rest assured we'll get back to you as soon as possible!

vestal sorrel
#

You are not passing the bearer token

crystal lake
#

I passed the bearer token, removed it while sharing, I am getting 403 response even when I passed the bearer