2checkout sandbox mode is not working - sandbox

After many tries, I could not get an Authorized response from 2checkout, for each try with valid data I got the next response:
{
"validationErrors": null,
"response": null,
"exception": {
"errorMsg": "Payment Authorization Failed: Please verify your information and try again, or try another payment method.",
"httpStatus": "400",
"exception": false,
"errorCode": "607"
}
}
what does mean 607 error code?

607 Error code is a general code for rejected credit card authorization. For example, a credit card could be declined by its bank due to insufficient funds, expiration or some similar problems.
2Checkout has a test account for checking this case:
CC with number 4333************
https://www.2checkout.com/documentation/sandbox/test-data

Related

PouchDB over HTTP disconnects on inactivity after some minutes?

I am trying to create an application that uses PouchDB as an adapter to a CouchDB running on a server.
Problem: After some minutes of inactivity I get the following error on trying to access the database again:
{
"error": "unauthorized",
"reason": "You are not authorized to access this db.",
"status": 401,
"name": "unauthorized",
"message": "You are not authorized to access this db.",
"docId": "category:aktien"
}
My feeling is, that the HTTP-Connection between Pouch and Couch has a timeout... what can I do about that?
I cant find a "signal" that informs me about the timeout, so I could reconnect. Is there any?
Best Regards,
Tobias
In the settings of CouchDB you can set the session timeout... default is 10 minutes (600 s).

DataFactory Debug Error - BadRequest - factory is deleted

I am creating a pipeline that only runs a simple "wait ", just for testing, because I am trying to understand why my others pipeline are returning errors (the same error).
When I try to debug, it sends the following error:
{
"code": "BadRequest",
"message": "Operation could not be completed as factory is deleted",
"target": "pipeline/Teste_ParaApagar/runid/f0e412a9-21a2-4d0f-ab28-c0287a484326",
"details": null,
"error": null
}
I searched everywhere, I canĀ“t find answer. Can you please help?
I think this is not a common error.
According to the policy, I think you should check your account to see if your ADF was disabled.

Error when renewing Microsoft Graph Subscription

I have this project in which I need to have a subscription to a specific calendar. This is done, no issue here.
In order to keep the subscription alive, I have a mechanism that runs a script once per day, which renews that specific subscription by giving it an expiration date that is two days after. It works fine, most of the time.
The issue is that, twice now, the first time in March and the last time earlier this week, the subscription has not been successfully renewed, and I get this error response:
{
"error": {
"code": "ExtensionError",
"message": "Operation: Update; Exception: [Status Code: NotFound; Reason: The subscription with Id 'M0M5MUUwODEtQkQ5RS00OTlCLTkxNjMtNDdDRUYxODhDMjI5XzEzMjQ0RjZDLUMwRTEtNDg3RC1CQUQ4LThDOEFFNzXXXkNDNQ==' is not found.]",
"innerError": {
"request-id": "b1f7af53-XXXX-XXXX-b38e-750453299588",
"date": "2019-06-01T23:30:07"
}
}
}
(changed a few characters just to be safe)
I am pretty sure that this problem was not originated on my end, because nothing changed there.
Upon searching for this error code, I came across similar issues (1, 2, 3), but some of them are not exactly the same, and there seems to not be any definitive explanation or response for the issue.
With all this in mind, I would like to know if someone can help me out - this is rolling in production, so it's hurting me a lot.

Job schedule entry could not be created. Status code: 500

I have received the following error when trying to save a DSX Scheduled Job:
Job schedule entry could not be created. Status code: 500
Screenshot of the error message:
I've tried about six times over the last few hours and have consistently received the above error message.
Debugging via the browser network inspection tool I can see:
{
"code":"CDSX.N.1001",
"message":"The service is not responding, try again later.",
"description":"",
"httpMethod":"POST",
"url":"https://batch-schedule-prod.spark.bluemix.net:12100/schedules",
"qs":"",
"body":"While attempting to get Bluemix Token from BlueIDToken, unable to retrieve AccessToken, failed with status 400 Bad Request, message = {\"error\":\"invalid_grant\",\"error_description\":\"A redirect_uri can only be used by implicit or authorization_code grant types.\"} Entity: {\"error\":\"invalid_grant\",\"error_description\":\"A redirect_uri can only be used by implicit or authorization_code grant types.\"}",
"statusCode":500,
"duration":666,
"expectedStatusCode":201
}
As per Charles comment, the functionality is working ok now. I guess if this happens to another user some time in the future they should contact support.

Problems with pulling OneDrive/SharePoint Permissions

I am currently writing a script in nodejs to pull all DriveItems from the MS Graph API, the idea is to grab the permissions of each DriveItem so that a record can be kept and presented to the user. Our authentication with Graph is app based.
I am running asynchronous requests to MS graph which obviously results in a lot of simultaneous requests. After a few seconds of executing the script, MS graph starts returning the following errors from the endpoint and doesn't seem to recover. The status codes are a 500 internal server error, 504 gateway timeout, and 404 not found.
The number of errors returned isn't always the same; one request returns 856 failed requests, another returns 900.
Here are the different responses received from endpoints which represent true drives and driveitems:
Endpoint: https://graph.microsoft.com/v1.0/drives/(drive_id)/items/(driveitem_id)/permissions
500 Internal server error:
{
"error": {
"code": "-2146232060, Microsoft.SharePoint.SPException",
"message": "Exception from HRESULT: 0x80131904",
"innerError": {
"request-id": "794863b8-bbf1-4866-9604-f8fcec4afabe",
"date": "2016-11-18T05:41:35"
}
}
}
504 Gateway timeout:
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "e91c3037-10b6-4523-88d3-7fc31107b719",
"date": "2016-11-18T05:46:21"
}
}
}
404 Not found error:
{
"error": {
"code": "itemNotFound",
"message": "The resource could not be found.",
"innerError": {
"request-id": "b9a8286d-ce8c-4353-b8f0-818fe0f609ea",
"date": "2016-11-18T05:41:35"
}
}
}
This errors occur for a period of time and then everything seems to work fine again.
I can confirm that these endpoints work fine when I use postman to get an individual endpoint and the same token as the script - it returns valid data. Also if I make the script synchronous, it works fine but this is not an acceptable solution as it is far too slow to process the thousands of files I am dealing with.
The only thing I can think of that would be a problem is the sheer amount of simultaneous requests happening? However I am not receiving a 429 too many requests error back from msgraph before this starts to happen.
Any help is greatly appreciated.

Resources