#Magnus1993
1 messages ยท Page 1 of 1 (latest)
@edgy slate let's chat here!
I've built a scenario in Make (formerly Integromat) to update disputes programmatically. However, when I check the logs on my stripe dashboard I get "No request parameters"
I'm not a dev, hence why I'm using Make. I've managed to GET a list of my disputes, upload files via the file api and get the file ID. But can't get the last step of sending that evidence to the dispute.
Here's a screenshot of my API call
I'd love some help. Thanks in advance.
Thanks for the context! I haven't used Make before so bear with me a bit
Could you share the request ID from the request you're reviewing in the Dashboard?
It should start with req_...
Here you go: req_CY00XgrJ8Z0LBe
Hm, I see Make is passing a request body in the POST requests to /v1/files but not for the requests to /v1/disputes/dispute_id
Do you mind taking a screenshot of the Make window for your /v1/files request?
They're 2 different modules. Maybe I should use HTTP for the stripe API?
Yeah, I'm not sure about that since I'm not familiar with Make
One other thing I noticed is I don't see evidence.narrative in any of our guides. How did you find this parameter?
Hmmm, I saw it on the Dashboard
But I'm not sure where. I'll remove it and see what happens.
Ok, it didn't work on the Stripe specific module
On the HTTP module I'm getting this error "{
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameters: uncategorized_file, product_description",
"param": "uncategorized_file",
"request_log_url": "https://dashboard.stripe.com/logs/req_QN9oIrZv32l2hq?t=1683072622",
"type": "invalid_request_error"
}
}
๐ Taking over this thread, catching up now
Thanks
uncategorized_file and product_description are under evidence hash. Could you put both parameters under the evidence hash instead of setting them directly in the request? https://stripe.com/docs/api/disputes/update?lang=curl#update_dispute-evidence
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry, I'm not really sure what that means. I read it, but it's a bit beyond me. What would that look like?
I'm not sure how Make works, but the parameter name should look something like evidence[uncategorized_file] or evidence.uncategorized_file depending on Make's input format
Similarly for product_description that it should look like evidence[product_description] or evidence.product_description
Both parameters are nested under evidence parameter
Ok, thank you.
No problem! Happy to help ๐
It worked, wooooooooooooo