kozman
July 24, 2023, 12:56pm
1
Cannot save any edits today. We are using the Hosted Enterprise Version v5.6.20-C123
We have cleared the cache using this Invoice Ninja
We have tried desktop app and also android app.
No edits allowed
Error message: 422: The given data was invalid.
• The exchange rate must be greater than 0.
hillel
July 24, 2023, 12:57pm
2
Hi,
@david is it possible to default the value to 1 instead of throwing an error?
hillel
July 24, 2023, 1:34pm
3
You may want to try the new web app: https://app.invoicing.co
kozman
July 24, 2023, 1:39pm
4
Sorry forgot to mention that we also tried it there, same results.
hillel
July 24, 2023, 1:40pm
5
Thanks for the info, we’ll look into it.
kozman
July 24, 2023, 1:41pm
6
Great thanks. Trying to get some quotes out the door!
hillel
July 24, 2023, 1:43pm
7
Which currency are you using?
As a temporary workaround it may help to manually set the exchange rate for the invoice to 1 in the settings tab on the edit invoice/quote screen.
kozman
July 24, 2023, 1:54pm
8
USD
I confirm that the setting for Exchange Rate is already and has been set to 1.00.
No changes have been made to that setting.
kozman
July 24, 2023, 2:02pm
9
Okay I found a solution. I edited the Exchange rate from it’s default 1.0 to 1 and that seemed to work.
hillel
July 24, 2023, 2:06pm
10
Thanks, that’s helpful to know!
cc @david
david
July 24, 2023, 10:24pm
11
@hillel
I cannot recreate this issue at all in production?
Having the same problem…
As soon as i try to edit an invoice i get following error.
422: The given data was invalid.
** • The exchange rate must be greater than 0.**
v.5.6.27-C123 Self hosting
Koen
hillel
August 8, 2023, 9:22am
13
What value is set for the exchange rate on the settings tab on the edit invoice page?
@david what do you think about automatically changing 0 to 1 in the backend?
Hi Hillel,
I can’t find the page you mention.
Koen
hillel
August 8, 2023, 9:26am
15
The settings tab is on the invoice create/edit page.
Ok Hillel, that did the job… Thanks
I never changed this by myself…
Koen
hillel
August 8, 2023, 9:44am
17
The value should default to 1, what did you need to change it from/to?
On a credit i changed the amount of electricity consumption from 200 to 396.
The value for exchange was 1.0.
Koen
hillel
August 8, 2023, 10:42am
19
Thanks for the details!
What did you change it to in order to make it work?
Also, are you on the hosted or selfhosted platform?
Hi Hillel,
I’m on selfhosting platform.
I set the exchange rate to 1.
But now i see that it is 1.0 again, but it still saves…
Koen