#alex_61416

1 messages · Page 1 of 1 (latest)

tawdry canyonBOT
neat sphinx
#

👋 happy to help

#

would you mind sharing a request ID you've made?

#

and any logging that you've had internally

remote musk
#

thanks for your help, please let me check

#

in the developer logs nothing appear

#

we have no log internally, but even the try ctach shows any error

#

just retur this

#

{
"Message": "There was an error processing the request.",
"StackTrace": "",
"ExceptionType": ""
}

neat sphinx
#

would you mind sharing your code please?

#

and your account ID?

remote musk
#

public StripeSearchResult<Subscription> getLastSuscriptionOfTerminalkey(String terminal_key)
{

        StripeConfiguration.ApiKey = ".....";

        var service = new SubscriptionService();

        var options = new SubscriptionSearchOptions
        {
            Limit = 100,
            Query = "metadata['Serial']:'" + terminal_key + "'"
        };

        return service.Search(options);
    }
#

we call this in other methods, etc etc etc

#

in local server work fine, but in cloud returns internal error

#

BillingController stripe = new BillingController();

            StripeSearchResult<Subscription> subs = stripe.getLastSuscriptionOfTerminalkey(terminal_key);
neat sphinx
#

it could be an issue with outbound IP being blocked or a problem with DNS

#

verify that there's no connection issue

#

and at the same time, try to add more meaningful logging to your code to understand what's the actual error, this is crucial to help you debug future issues

remote musk
#

thanks a lot for your help, let me check