Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Adding file to purchase fails.

Babak Fakhamzadeh   ( User )

Commented 3 years ago

At the moment, adding a file to a purchase results in failure to save the purchase. When not adding a file, the purchase saves without a problem. Then going back to edit the purchase and adding a file, fails to save the purchase again.

Melda Melda   ( User )

Commented 3 years ago

Hi Babak,

Thank you for your feedback. However, we could not reproduce any issues regarding your case. Could you please share your attached file format including your technical details of Akaunting versions etc?

Babak Fakhamzadeh   ( User )

Commented 3 years ago

I was trying to attach a PDF. I'm using the hosted version of your software, which reports being version 2.1.19.

I just tried it again, and the problem persists. The console reports:

POST https://app.akaunting.com/9135/purchases/payments/2121479 422
(anonymous) @ payments.js?v=2.1.19:1
e.exports @ payments.js?v=2.1.19:1
e.exports @ payments.js?v=2.1.19:1
Promise.then (async)
l.request @ payments.js?v=2.1.19:1
(anonymous) @ payments.js?v=2.1.19:1
value @ payments.js?v=2.1.19:1
onSubmit @ payments.js?v=2.1.19:1
submit @ VM362:3
Ve @ payments.js?v=2.1.19:1
n @ payments.js?v=2.1.19:1
Ki.o._wrapper @ payments.js?v=2.1.19:1

And:

Error: Request failed with status code 422
at e.exports (payments.js?v=2.1.19:1)
at e.exports (payments.js?v=2.1.19:1)
at XMLHttpRequest.h.onreadystatechange (payments.js?v=2.1.19:1)

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions