Economic.Api.Exceptions.ValidationException(E04010): Argumen

Possibilities for Integration
Partners

Economic.Api.Exceptions.ValidationException(E04010): Argumen

Postby adsoft » Wed Sep 07, 2011 9:58 am

hi,

i am trying to create a magento module for one of your clients. That exports orders from magento to e-conomic.
And we are getting the following errors :

Economic.Api.Exceptions.ValidationException(E04010): Argument 'debtor' cannot be null. {id=1763441752}
Economic.Api.Exceptions.AuthenticationException(E02250): User is not authenticated. Access denied. {id=1763441757}

We need some help asap.

Thanks.
-
adsoft
 
Posts: 3
Joined: Tue Sep 06, 2011 12:01 pm

Re: Economic.Api.Exceptions.ValidationException(E04010): Arg

Postby Carsten Larsen » Wed Sep 07, 2011 11:39 am

Hi

In the first case you are trying to create an order on a debtor. But the debtor is invalid or unspecified.

In the second case you are calling Account_FindByNumber. But you logged out of the API or somehow lost the session beforehand, so the request could not be handled.

Best regards
Carsten, e-conomic API team
-
Carsten Larsen
 
Posts: 5
Joined: Mon Jan 24, 2011 11:37 am

Re: Economic.Api.Exceptions.ValidationException(E04010): Arg

Postby adsoft » Wed Sep 07, 2011 1:07 pm

any suggestion on how to fix this?

Thanks.
-
adsoft
 
Posts: 3
Joined: Tue Sep 06, 2011 12:01 pm

Re: Economic.Api.Exceptions.ValidationException(E04010): Arg

Postby mpgjunky » Wed Sep 07, 2011 3:46 pm

Carsten Larsen wrote:Hi

In the first case you are trying to create an order on a debtor. But the debtor is invalid or unspecified.

In the second case you are calling Account_FindByNumber. But you logged out of the API or somehow lost the session beforehand, so the request could not be handled.

Best regards
Carsten, e-conomic API team


Hi Carsten,

I am the actual developer working on the module, inherited from someone else. I've exported the customer through module successfully, but I would like to locate the customer record in the e-conomic control panel. Can you please tell me where I need to go in the panel?

Cheers,
Michael.
-
mpgjunky
 
Posts: 1
Joined: Wed Sep 07, 2011 3:38 pm

Re: Economic.Api.Exceptions.ValidationException(E04010): Arg

Postby Carsten Larsen » Wed Sep 07, 2011 4:27 pm

Hi Michael

Do you mean the debtor list in the e-conomic web application? Just go to tab Invoice/Faktura. There you will see the debtor list.

Best regards
Carsten, API team
-
Carsten Larsen
 
Posts: 5
Joined: Mon Jan 24, 2011 11:37 am

Re: Economic.Api.Exceptions.ValidationException(E04010): Arg

Postby slackermikey » Tue Sep 20, 2011 12:21 am

Hello :)

I found this thread in my attempt to find an answer to my question. So thought I would reply here, instead of creating a new one.

I am having the same error with debtor being null. However, i am debugging the script and the output shows the debtor does exists.

When you say "But the debtor is invalid or unspecified." what exactly does that mean? I'm guessing i'm not inputting all the neccesary data to the debtor before I am attempting to create an order from the debtor handle?

I am making a module for a custom webshop - so it is possible not all the data neccessary is in the webshop. Having to update 'all' the info, may be a bit much.

Thanks in advance.
-
slackermikey
 
Posts: 1
Joined: Tue Sep 20, 2011 12:17 am


Return to Integration



cron