PreApprovalPlan create returns not found with path: /template/ #315
-
When trying to create a plan I get an error. Is there any error I'm not seeing here? import { MercadoPagoConfig, PreApprovalPlan } from "mercadopago";
const client = new MercadoPagoConfig({ accessToken: 'abc', options: { timeout: 5000 } });
const plan = new PreApprovalPlan(client);
const planData = await plan.create({
body: {
back_url: "https://google.com.ar",
reason: "Prueba de plan",
auto_recurring: {
frequency: 12,
frequency_type: "months",
transaction_amount: 20,
currency_id: "ARS",
}
}
}); Is failing with {
timestamp: '2024-04-15T15:25:59Z',
status: 404,
error: 'Not Found',
path: '/template/'
} What is the error doesn't provide any necessary information. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm getting the same error, here's the implementation:
And this is the error:
Already tried with the actual endpoint, but it's not working anyways Implementation:
Error:
Would be cool to get some help here, I'm stuck |
Beta Was this translation helpful? Give feedback.
-
Hello @Bullrich and @bmarianome, We apologize for the delay and for the inconvenience it may have caused to your workflow. |
Beta Was this translation helpful? Give feedback.
Hello @Bullrich and @bmarianome,
We apologize for the delay and for the inconvenience it may have caused to your workflow.
Our team make a solution (hotfix) and should be all ok now.
So, if the error still persists, gather all the information and go to the following link to share the issue with us:
https://www.mercadopago.com/developers/pt/support/center/contact
Thank you very much for your contact!