API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum


Hi i was wondering if others had faced this problem before.

$SubscriptionLine = array();
    $SubscriptionLine = $client-SubscriptionLine_FindBySubscription($subscription)-SubscriptionLine_FindBySubscriptionResult;
    return $SubscriptionLine;

I get this error result:  Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred. (id=1402903862)

What im trying to do is get a subscription line based on subscriptionHandle but for some reason i can not get it to work.

Things i have tested is that A i have a subscription and i also have subscription lines.
What does this error mean. ?
created Feb 6, 2013 by mediastyle
33% Accept Rate
Q 4 A 0 C 1

1 Answer

The problem occurs because you are not actually including a subscription in the XML envelope.

You can verify this with fiddler (http://www.fiddler2.com/fiddler2/).

Have you checked that the $subscription variable has a value?
answered Feb 20, 2013 by nkn
Visma e-conomic A/S