Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error when importing Web Order from Mouser #264

Open
nmoraitis opened this issue May 7, 2024 · 3 comments
Open

[Bug]: Error when importing Web Order from Mouser #264

nmoraitis opened this issue May 7, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nmoraitis
Copy link

Binner version

Version: 2.6.31

Operating System

https://binner.io

Describe the bug and the steps to reproduce it

I am receiving an error when trying to add a mouser web order.

The error message reads:

API Error
System.FormatException
Failed to import order! An exception occurred of type System.FormatException
The input string '€ 289,08' was not in a correct format.
Api Endpoint: https://binner.io/api/part/import

at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, ReadOnlySpan`1 value, TypeCode type) at Binner.Services.PartService.GetExternalMouserOrderAsync(OrderImportRequest request) in C:\projects\binner-io\Binner\Library\Binner.Services\PartService.cs:line 527 at Binner.Services.PartService.GetExternalOrderAsync(OrderImportRequest request) in C:\projects\binner-io\Binner\Library\Binner.Services\PartService.cs:line 241 at Binner.Web.Controllers.PartController.OrderImportAsync(OrderImportRequest request) in C:\projects\binner-io\Binner\Binner.Web\Controllers\PartController.cs:line 498

Would you like to attach your appsetings.json configuration?

No response

Screenshots or Videos (Optional, but they help!)

No response

Are you able to contribute a PR? (No is ok!)

None

@nmoraitis nmoraitis added the bug Something isn't working label May 7, 2024
@replaysMike replaysMike added this to the v2.6.4 milestone May 31, 2024
@replaysMike replaysMike self-assigned this May 31, 2024
@villaandres
Copy link

villaandres commented Oct 9, 2024

I also have the same issue. I assume it is because the amount is expressed with a comma as the decimal place separator.

I'm using self-hosted Binner Version: 2.6.3.

@replaysMike
Copy link
Owner

I believe this was fixed recently in another issue, I'll double check and get on deploying the next release. It's been delayed a few months for a specific feature but I'll try to get it up shortly

@luca90x
Copy link

luca90x commented Nov 12, 2024

I guess I encountered the same issue;

selfhosted local Binner, 2.6.3;
tried to import an order from Mouse, this was in CHF;

here attached, if can help

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants