Unable to ping Authorize.Net webhook - iis

I just started building a webhook following the documentation. I created a sample web api application and published to IIS with a valid url accessible from the internet.
I created a webhook on out authorize.net sandbox account and set the url. I am able to call the POST api method from inside the postman. But when I try to ping the webhook I get error as follow:
https://apitest.authorize.net/rest/v1/webhooks/70884522-6fe8-4e72-9c7e-15bf2b30f778/pings
{
"status": 500,
"reason": "PING_FAILED",
"message": "The ping operation failed with the status code 403",
"correlationId": "5d136ce8-406f-442e-9118-fdde36946d87",
"details": [
{
"message": "Error occured in connecting to the endpoint:http://staging4.dancecompgenie.com/api/Values/Post "
}
]
}
Here is the url on my server.
http://staging4.dancecompgenie.com/api/Values/Post
I am able to successfully call this url in postman and get the result.
I appreciate if you can help me solve the problem.

Related

404 not found. Using postman for stripe integration in android studio

I added the url for customers, emphemeral keys and payment_intent in the postman, and then i added authorization, body and sent the url request. Customers is working but for emphemeral key and payment_intent, i get the 404 error even though I used all details from stripe documentation
{
"error": {
"message": "Unrecognized request URL (GET: /v1/ephemeral_keys). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}
The /v1/ephemeral_keys only accepts the POST verb.

Salesforce failed to complete task: Message: This session is not valid for use with the REST API

I’m new in the development, and I’m facing an issue with salesforce connect app.
We are using azure logic apps to integrate salesforce with Microsoft products, we had some processes in place working fine for the last few years but from last week all of them were disconnected, the error message being thrown is:
"status": 401, "message": "Salesforce failed to complete task:
Message: This session is not valid for use with the REST
API\r\nclientRequestId: XXXXXXXXXX", "error": null, "source":
"Salesforce.Common", "errors": []
code": "Unauthorized",
"message": "Failed to refresh access token for service: salesforce. Correlation Id=XXXXXXX, UTC TimeStamp=8/15/2022
9:09:38 AM, Error: OAuth 2 access token refresh failed. Client ID and
secret sent in form body. Response status code=BadRequest. Response
body: '{"error":"invalid_grant","error_description":"expired
access/refresh token"}'.
I’ve reconnected azure with salesforce and granted all permission, including Perform requests at any time
I had no luck, after a few minutes it disconnected again… so I installed the Azure Connected App, and refreshed the connection… still no luck, it keeps disconnecting throwing the same error message.
However, I kept getting disconnected from and getting the same error message.
Any help would be much appreciated.

An error in integration of a Web hook to API.AI

I'm trying to implement an app according to the stages written in:
https://developers.google.com/actions/get-started/
I follow all stages, but there is some problem with connecting the Webhook to the app.
When trying to operate the app and connect to the Webhook, I get the following error in the json file:
"status": {
"code": 206,
"errorType": "partial_content",
"errorDetails": "Webhook call failed. Error: Webhook response was empty."
},
Does anyone know what might be the problem?

Google calendar push notification : Unauthorized webhook call

Currently we are in the process of developing one iPhone application that deals with google calendar. There was need of syncing calendar events to the server side. Everything works fine.
But for push notification , we are following this process
Whenever we post request to :
https://www.googleapis.com/calendar/v3/calendars/email#gmail.com/events/watch
with parameters
"id":Unique string ( channel id) ,
"type": "web_hook",
"address": "https://abc-api.herokuapp.com/user/notifications"
In the header , we are sending
Authorization : **Bearer 'Access_token'**
and content type : json
We already added domain as authorized domain in the google api console
Access_token is user's account access token .
We are getting "Unauthorized webhook call" error.
{
"error": {
"errors": [
{
"domain": "global",
"reason": "push.webhookUrlUnauthorized",
"message": "Unauthorized WebHook callback channel: https://abc-api.herokuapp.com/user/notifications"
}
],
"code": 401,
"message": "Unauthorized WebHook callback channel: https://abc-api.herokuapp.com/user/notifications"
}
}
Anyone here who can help us to solve the issue ?
You might want to check this post, providing solution like verifying if your domain have a valid (not self-signed) SSL license. Also in google-api-php-client GitHub, instead of setting https://example.com/google/push (resulted in Unauthorized WebHook callback channel) or https://www.example.com/google/push (allowed me to successfully open channel, and object has been returned, however webhook has not been fired) as address they tried https://www.example.com/google/push/index.php and worked.
One potential issue is if you're testing in Google's "try it" section of the documentation. It's not stated, but this particular request does not work there.
Otherwise, there are a few things that need to happen with the domain you are supplying in the address. First, you need to make sure its verified in the google developers console for the application you are hitting the api with. Additionally, you need to add the website property to your search console (even if its just an api) and verify ownership.
Also, once you get past the unauthorized address issue, you will get another error requiring a resourceId be supplied.

Microsoft Graph InTune Beta API's - Unable to add app to app policy

I am attempting to use Intune specific beta Graph APIs to assign apps to an iOS managed app protection policy. I am able to create the app policies using the endpoint documented below:
https://graph.microsoft.io/en-us/docs/api-reference/beta/api/intune_mam_iosmanagedappprotection_create
When created via API, the app "deployedCount" is 0 until specific apps are added in the admin console UI.
Now, I am attempting to retrieve apps added to any policy by API using the endpoint documented below.
https://graph.microsoft.io/en-us/docs/api-reference/beta/api/intune_mam_mobileappidentifierdeployment_list
I get a 400 bad request response that appears to say this endpoint either does not exist or is not responding correctly. This seems unlike if I mistyped an endpoint.
Response I receive:
{
"error": {
"code": "No method match route template",
"message": "No OData route exists that match template ~/entityset/key/navigation with http verb GET for request /MAMAdmin/MAMAdminFEService/managedAppPolicies('T_338de6df-386d-4f1b-a51c-a0d189c61722')/mobileAppIdentifierDeployments.",
"innerError": {
"request-id": "79514f29-4dca-48a5-a2de-5d14138577d7",
"date": "2017-02-08T17:46:52"
}
}
}
Response if I mistyped:
{
"error": {
"code": "BadRequest",
"message": "Resource not found for the segment 'asdfasdf'.",
"innerError": {
"request-id": "e86d84ab-f062-4780-af3c-9afae6e7bc82",
"date": "2017-02-08T18:53:29"
}
}
}
Hello this is Alemeshet Alemu from MSFT.
Sorry, the API documentation is a bit out sync. Could you try with $expand?
GET /managedAppPolicies/{managedAppPoliciesId}?$expand=mobileAppIdentifierDeployments
Alemeshet Alemu (MSFT)

Resources