I have enabled the GP API in the global payment sandbox and now I am testing its API through the postman tool.
So as per the GP API document, we need to generate the token using the below information
https://developer.globalpay.com/api/access-token#/Create%20token/post_accesstoken
And
I am receiving, the below error,
Related
I'm currently using an AWS lambda function to automate the creation of a BIM 360 project by using multiple BIM 360 API endpoints.
It's been working fine, but I've just noticed that it stopped working, failing to access GET projects/:project_id endpoint. My code accesses each BIM 360 project's job_number attribute to filter duplicated projects by using job_number. And the code is failing at getting the response of the GET projects/:project_id request.
Has there been any change in the API recently? Thank you in advance.
from the latest reply, it looks you hit rate limit. If am correct, the response error code is 429. Each category API has restriction of rate limit. e.g. This is rate limit of Data Management API
https://forge.autodesk.com/en/docs/data/v2/developers_guide/rate-limiting/dm-rate-limits/
And this is BIM360 API:
https://forge.autodesk.com/en/docs/bim360/v1/overview/rate-limits/
So, you will need to set some delays of each call to meet the rate, or use some async management methods such as async-pool in Node.js to control the calls rate or every minute.
I am testing the Google Places API on the Flutter Android app.
When I send a request to the API I get a JSON result with the following error message:
This IP, site or mobile application is not authorized to use this API key.
To build the request, I went to the Google API console and generated my Android API Key based on my application package.
I'm using Google Maps on the app and trying to make a request to the Places API.
I put both Application restrictions and API restrictions in Google API console using package name and SHA1
Without restrictions Places API work but with restrictions it's not working.
Using the Autodesk Forge Auth API, I can get a bearer token for my app and I can get the ID of the user. I want to get a list of Fusion 360 files that the user owns. How can I do this? It seems like it would be part of the Data Management API, but I can't find it.
I use the forge api for data management to ask for the hubs for a user. I get a response that has a 200 status, but there is nothing in the response - no data and nothing like what is in the example.
Any ideals as to how to get those files?
If the GET Hubs response is empty, most likely that user don't have any hub. Is there any warning or error on the response body?
And this tutorial should help you get started, or try this live sample (source in .NET)
I'm following the Issue Retrieval tutorial: https://forge.autodesk.com/en/docs/bim360/v1/tutorials/retrieve-issues/
After getting a token I'm able to retrieve my hubs, then my projects, but when it comes time to retrieve issues in a project I am getting a 403 forbidden.
Trying to retrieve issues with the following URL:
https://developer.api.autodesk.com/issues/v1/containers/[issue_container_id]/issues
where [issue_container_id] is retrieved from data[0].relationships.issues.data.id from the https://developer.api.autodesk.com/project/v1/hubs/[hub_id]/projects response
My auth token scope is data:read and I've even tried with data:read and data:write since I was initially trying to write an issue, but also got a 403.
My Forge app has access to BIM 360 API, Data Management API, and WebHook API.
My BIM 360 integration gives the Forge app acess to BIM 360 Account Admin and Document management.
According to our engineering team, BIM360 Issue APIs support three-legged token only currently. Apologizing for the confusion, the tutorial will be updated soon.
We use Google Geocoding API to map address to Latitude and Longitude.
Here is the sample URL for encoding (which returns json) -
http://maps.googleapis.com/maps/api/geocode/json?address=Dallas&sensor=false
Message: OVER_QUERY_LIMIT
Ok, it makes sense, because we exceed over 2500 daily limit so we place API key like this -
http://maps.googleapis.com/maps/api/geocode/json?key=xxxxx&address=Dallas&sensor=false
Message: REQUEST_DENIED
I'm wondering where/how to place the API Key.
Looks like in version 3 you need to pass the ClientID in the URL and not a key as you do in the free version: https://developers.google.com/maps/articles/v2tov3#newkey
So your URL should look like: http://maps.googleapis.com/maps/api/geocode/json?client=xxxxx&address=Dallas&sensor=false
Not lucky enough to have a paid account so I cannot test - but I think that will get you on the correct path.
Relevant from this link: https://developers.google.com/maps/documentation/business/webservices/
Client ID
You must include your client ID in all API requests. Your client ID
identifies you as a Maps API for Business customer and enables support
and purchased quota for your application. Requests made without a
client ID are not eligible for Maps API for Business benefits.
If you're switching from the free API services to a Maps API for
Business implementation, you must remove the key parameter from your
requests. Google Maps API web services will deny requests made with
both a client ID and a key.
More information is available in the Authentication and Authorization
chapter of this guide.
If you have lost your client ID, you can recover it by logging in to
the support portal and clicking Maps: Add URLs from the links on the
left of the page.
EDIT
For more information, including instructions on passing your client ID to the Earth API, v2 API, and the Maps API for Flash, please read Loading Client-side APIs.
If you have lost your client ID or cryptographic key, you can recover them by logging in to the support portal and clicking Maps: Add URLs from the links on the left of the page.