Status API is showing server error on apiexplorer - intuit-partner-platform

The status API throwing a error while retrieving sync status of
QuickBooks (for Windows) entities:
-Server Error.
-404 - File or directory not found.
-The resource you are looking for might have been removed, had its name changed, or is
temporarily unavailable.
you can check on:
http://apiexplorer.developer.intuit.com/V2QBD#api
Consumer Key : qyprdj6FkwCXWoq9Q8oRYlz33HXfN8
Consumer Secret : WHElfjFy5ip8C7UGFQdSRnl9hCeDq4fivvyxTnX6
Access Token : qyprdY6MP5IbtWk6vXji7p7rjc5YsiWpqRWJxht2kuyNO9Wv
Access Token Secret : u5qksOlffIN1UwEdo2OPqnkpe3xNFTFRHZMEIXNm
RealmId: 641280550
Also the SyncActivity API shows details for account's only.
I want to resolve WriteBack Errors.
How to resolve this and get the Sync Status and Sync Activity?

The API Explorer is doing a GET instead of a POST. We’ll fix it.
You should not see this error if you use Fiddler for the Status API.

API Explorer has been fixed, you should now be able to query SyncActivity and SyncStatus

Related

I needed to access HUAWEI AppGallery Connect API and create a product through the PMS API (server API). But 403 client token authorization fail

Recently,I needed to access HUAWEI AppGallery Connect API
and create a product through the PMS API (server API). However, when Postman
was used for basic service interconnection tests,
the error message "403 client token authorization fail" was displayed.
how can i fix it?
Based on the error code included in your screen captures, the error was caused by an authentication failure.
To solve the problem, you first need to confirm that the client ID used for applying for the token has sufficient permission.
HMS official document suggested that the project associated with the API client be selected as N/A. You need to create an API client and associate it with a project. E.g. An app ID in the project was 100xxx591. However, the app ID in the Postman service request was 101xxx531, which would cause the authentication failure.
Also, to fix the above, you need to create an API client and selected N/A (indicating that all projects are supported), and use the client to request a token. The process should work well after this.
In general, if Huawei's 403 authentication failure occurs, you can verify the permission first, and then check the associated projects.
For more details about the PMS API, please refer to this link.

Error: The access token is from the wrong issuer 'https://sts.windows.net/***/'

Recently changed azure subscription and I need to add the same in Azure DevOps – service connection. When trying to create new service connection for the changed subscription I am getting below error -
Failed to query service connection API: 'https://management.azure.com/subscriptions/{id}/resourcegroups?api-
version=2016-02-01'. Status Code: 'Unauthorized', Response from
server:
'{"error":{"code":"InvalidAuthenticationTokenTenant","message":"The
access token is from the wrong issuer
'https://sts.windows.net/{id}/'. It must match the tenant
'https://sts.windows.net/{id}/' associated with this
subscription. Please use the authority (URL)
'https://login.windows.net/{id}' to get the token. Note, if the
subscription is transferred to another tenant there is no impact to
the services, but information about new tenant could take time to
propagate (up to an hour). If you just transferred your subscription
and see this error message, please try back later."}}'
With the subscription - azure active directory is also changed. Do I need to change AD in AzureDevops? or How do I resolve this error?
Thanks.
If your subscription is in another tenant, you may need to change it.
See : https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/change-azure-ad-connection?view=azure-devops

Get Github Enterprise Stats using API

i am trying to fetch statistics of GitHub instance using the below command as per https://developer.github.com/enterprise/2.15/v3/enterprise-admin/admin_stats/
curl -u username:password https://<hostname>/api/v3/enterprise/stats/:all
However i am getting the below message. Please help me in fixing this issue
{
"message": "Not Found",
"documentation_url": "https://developer.github.com/enterprise/2.14/v3"
}
Since the documentation states:
It is only available to authenticated site administrators.
Normal users will receive a 404 response if they try to access it.
Check first if you are declared as a site admin on your GitHub Enterprise server.
The issue got sorted by removing : (before all) in the api

Couldn't connect to database using Cloud SQL proxy

When using the GCloud CLI to create the service accounts and keys I get the following error
2018/02/24 22:32:35 New connection for "moodle-proj-10:europe-west2:mysqlinst10"
2018/02/24 22:32:35 couldn't connect to "moodle-proj-10:europe-west2:mysqlinst10": ensure that the account has access to "moodle-proj-10:europe-west2:mysqlinst10" (and make sure there's no typo in that name). Error during createEphemeral for moodle-proj-10:europe-west2:mysqlinst10: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
When I delete the service accounts and corresponding keys are re-create it using the console, the error changes to the error below
2018/02/24 23:21:25 couldn't connect to "moodle-proj-10:europe-west2:mysqlinst10": Post https://www.googleapis.com/sql/v1beta4/projects/moodle-proj-10/instances/mysqlinst10/createEphemeral?alt=json: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error" : "invalid_grant",
"error_description" : "Invalid JWT Signature."
}
Has anyone experienced this?
I had this problem when I followed the command line instructions in this help article
Solution is to delete the original service account and create a new one in the console using this help article.

Getting 404 at main page of bluemix.net

I'm trying to access https://console.ng.bluemix.net/ and I'm getting a 404 Resource Not Found. Did the URL changed or is there an alternative URL to access ??
There is currently an access issue with the Bluemix US-South region. We are working to get service restored as quickly as possible. Check the Bluemix Status page for updates.